From f0f6b7c354e1c77c170a4f0dbb5ab60ecebdfed7 Mon Sep 17 00:00:00 2001 From: Aleix Roca Nonell Date: Wed, 15 Nov 2023 15:25:26 +0100 Subject: [PATCH] Enable dontStrip on clang if enableDebug is set Reviewed-By: Rodrigo Arias Mallo --- pkgs/llvm-ompss2/clang.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/llvm-ompss2/clang.nix b/pkgs/llvm-ompss2/clang.nix index 40d5860..c517915 100644 --- a/pkgs/llvm-ompss2/clang.nix +++ b/pkgs/llvm-ompss2/clang.nix @@ -84,6 +84,8 @@ in stdenv.mkDerivation rec { cmakeBuildType = if enableDebug then "Debug" else "Release"; + dontStrip = enableDebug; + dontUseCmakeBuildDir = true; # Fix the host triple, as it has changed in a newer config.guess: