qt5: make overriding separatedebuginfo useful

qmake strips before we separate the debuginfo
This commit is contained in:
Guillaume Girol 2023-03-03 12:00:00 +00:00
parent a08d6979dd
commit b237f5b637
2 changed files with 5 additions and 1 deletions

View file

@ -22,6 +22,9 @@ qmakePrePhase() {
qmakeFlags+=( "CONFIG+=release" )
fi
# do the stripping ourselves (needed for separateDebugInfo)
qmakeFlags+=( "CONFIG+=nostrip" )
qmakeFlags+=( "${qmakeFlags_orig[@]}" )
}
prePhases+=" qmakePrePhase"

View file

@ -213,7 +213,8 @@ stdenv.mkDerivation (finalAttrs: {
"-shared"
"-accessibility"
"-optimized-qmake"
"-strip"
# for separateDebugInfo
"-no-strip"
"-system-proxies"
"-pkg-config"