3
0
Fork 0
forked from mirrors/nixpkgs

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

This commit is contained in:
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

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 [