forked from mirrors/nixpkgs
Merge pull request #109239 from poelzi/qt-debug-symbols
This commit is contained in:
commit
8f69090ba5
|
@ -165,6 +165,9 @@ stdenv.mkDerivation {
|
||||||
qtQmlPrefix = "lib/qt-${qtCompatVersion}/qml";
|
qtQmlPrefix = "lib/qt-${qtCompatVersion}/qml";
|
||||||
qtDocPrefix = "share/doc/qt-${qtCompatVersion}";
|
qtDocPrefix = "share/doc/qt-${qtCompatVersion}";
|
||||||
|
|
||||||
|
# don't strip away debugging symbols when build with developerBuild
|
||||||
|
dontStrip = developerBuild;
|
||||||
|
|
||||||
setOutputFlags = false;
|
setOutputFlags = false;
|
||||||
preConfigure = ''
|
preConfigure = ''
|
||||||
export LD_LIBRARY_PATH="$PWD/lib:$PWD/plugins/platforms''${LD_LIBRARY_PATH:+:}$LD_LIBRARY_PATH"
|
export LD_LIBRARY_PATH="$PWD/lib:$PWD/plugins/platforms''${LD_LIBRARY_PATH:+:}$LD_LIBRARY_PATH"
|
||||||
|
@ -257,6 +260,7 @@ stdenv.mkDerivation {
|
||||||
++ lib.optionals developerBuild [
|
++ lib.optionals developerBuild [
|
||||||
"-developer-build"
|
"-developer-build"
|
||||||
"-no-warnings-are-errors"
|
"-no-warnings-are-errors"
|
||||||
|
"-force-debug-info"
|
||||||
]
|
]
|
||||||
++ (
|
++ (
|
||||||
if (!stdenv.hostPlatform.isx86_64) then [
|
if (!stdenv.hostPlatform.isx86_64) then [
|
||||||
|
|
Loading…
Reference in a new issue