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" )
|
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"
|
||||||
|
|
|
@ -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"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue