Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
I am trying to package Yuzu and I have some questions
Is it possible to automate filling in the Build-depends field of control? In the same way as you can use ${shlibs:Depends} to fill the Depends field?
After dh_auto_install runs, the install prefix has directories bin/ lib/ include/ share/. I want to exclude the lib/ and include/ directory. I'm sure I've seen this done in a rules file with the -X and --exclude= option, but for me dh_auto_install just ignores it.
My toolchain necessitates using Clang, but dh_dwm crashes if you don't use DWARF-4. According to this bug report, you can force this with the "-gdwarf-4" flag. How do I do this in a cmake-based rules file? -DCMAKE_CXX_FLAGS="${CMAKE_CXX_FLAGS} -gdwarf-4" doesn't work. Nor does passing this option to -DCMAKE_EXE_LINKER_FLAGS.
MultiplexLayout wrote:My toolchain necessitates using Clang, but dh_dwm crashes if you don't use DWARF-4. According to this bug report, you can force this with the "-gdwarf-4" flag. How do I do this in a cmake-based rules file? -DCMAKE_CXX_FLAGS="${CMAKE_CXX_FLAGS} -gdwarf-4" doesn't work. Nor does passing this option to -DCMAKE_EXE_LINKER_FLAGS.
MultiplexLayout wrote:My toolchain necessitates using Clang, but dh_dwm crashes if you don't use DWARF-4. According to this bug report, you can force this with the "-gdwarf-4" flag. How do I do this in a cmake-based rules file? -DCMAKE_CXX_FLAGS="${CMAKE_CXX_FLAGS} -gdwarf-4" doesn't work. Nor does passing this option to -DCMAKE_EXE_LINKER_FLAGS.
Thank you for replying.
Unfortunately that didn't change anything. I fixed it eventually by adding both -DCMAKE_CXX_FLAGS="${CMAKE_CXX_FLAGS} -gdwarf-4" and -DCMAKE_C_FLAGS="${CMAKE_C_FLAGS} -gdwarf-4" to my cmake options. Marking this as solved anyway.