qt5: make overriding separatedebuginfo useful
qmake strips before we separate the debuginfo
This commit is contained in:
parent
a08d6979dd
commit
b237f5b637
2 changed files with 5 additions and 1 deletions
|
@ -22,6 +22,9 @@ qmakePrePhase() {
|
|||
qmakeFlags+=( "CONFIG+=release" )
|
||||
fi
|
||||
|
||||
# do the stripping ourselves (needed for separateDebugInfo)
|
||||
qmakeFlags+=( "CONFIG+=nostrip" )
|
||||
|
||||
qmakeFlags+=( "${qmakeFlags_orig[@]}" )
|
||||
}
|
||||
prePhases+=" qmakePrePhase"
|
||||
|
|
|
@ -213,7 +213,8 @@ stdenv.mkDerivation (finalAttrs: {
|
|||
"-shared"
|
||||
"-accessibility"
|
||||
"-optimized-qmake"
|
||||
"-strip"
|
||||
# for separateDebugInfo
|
||||
"-no-strip"
|
||||
"-system-proxies"
|
||||
"-pkg-config"
|
||||
|
||||
|
|
Loading…
Reference in a new issue