Enable dontStrip on clang if enableDebug is set

Reviewed-By: Rodrigo Arias Mallo <rodrigo.arias@bsc.es>
This commit is contained in:
Aleix Roca Nonell 2023-11-15 15:25:26 +01:00 committed by Rodrigo Arias Mallo
parent 0086b9452a
commit f0f6b7c354

View File

@ -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: