Enable dontStrip on clang if enableDebug is set
Reviewed-By: Rodrigo Arias Mallo <rodrigo.arias@bsc.es>
This commit is contained in:
parent
0086b9452a
commit
f0f6b7c354
@ -84,6 +84,8 @@ in stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
cmakeBuildType = if enableDebug then "Debug" else "Release";
|
cmakeBuildType = if enableDebug then "Debug" else "Release";
|
||||||
|
|
||||||
|
dontStrip = enableDebug;
|
||||||
|
|
||||||
dontUseCmakeBuildDir = true;
|
dontUseCmakeBuildDir = true;
|
||||||
|
|
||||||
# Fix the host triple, as it has changed in a newer config.guess:
|
# Fix the host triple, as it has changed in a newer config.guess:
|
||||||
|
Loading…
Reference in New Issue
Block a user