Merge #219427: qt5: make overrriding with separate debug info useful

...into staging
This commit is contained in:
Vladimír Čunát 2023-03-25 13:27:33 +01:00
commit a53bfc01dc
No known key found for this signature in database
GPG key ID: E747DF1F9575A3AA
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

@ -216,7 +216,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"