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" ) qmakeFlags+=( "CONFIG+=release" )
fi fi
# do the stripping ourselves (needed for separateDebugInfo)
qmakeFlags+=( "CONFIG+=nostrip" )
qmakeFlags+=( "${qmakeFlags_orig[@]}" ) qmakeFlags+=( "${qmakeFlags_orig[@]}" )
} }
prePhases+=" qmakePrePhase" prePhases+=" qmakePrePhase"

View file

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