Merge pull request #109239 from poelzi/qt-debug-symbols

master
Jörg Thalheim 2021-01-27 10:18:26 +00:00 committed by GitHub
commit 8f69090ba5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -165,6 +165,9 @@ stdenv.mkDerivation {
qtQmlPrefix = "lib/qt-${qtCompatVersion}/qml";
qtDocPrefix = "share/doc/qt-${qtCompatVersion}";
# don't strip away debugging symbols when build with developerBuild
dontStrip = developerBuild;
setOutputFlags = false;
preConfigure = ''
export LD_LIBRARY_PATH="$PWD/lib:$PWD/plugins/platforms''${LD_LIBRARY_PATH:+:}$LD_LIBRARY_PATH"
@ -257,6 +260,7 @@ stdenv.mkDerivation {
++ lib.optionals developerBuild [
"-developer-build"
"-no-warnings-are-errors"
"-force-debug-info"
]
++ (
if (!stdenv.hostPlatform.isx86_64) then [