llvm: disable hardening

This commit is contained in:
Aleix Boné 2025-05-19 19:33:37 +02:00
parent bbb421a340
commit 6bcc2e9a52
Signed by: abonerib
SSH Key Fingerprint: SHA256:Jmq7aNH8XDdGy7E9dqfqrc/LRaVqhnFgDgdxlFw/pl8

View File

@ -55,6 +55,8 @@ in wrapCCWith {
wrap clang++ $wrapper $ccPath/clang++
echo "" > $out/nix-support/add-hardening.sh
'' + lib.optionalString (openmp != null) ''
echo "export OPENMP_RUNTIME=${ompname}" >> $out/nix-support/cc-wrapper-hook
'' + lib.optionalString (ompss2rt != null) ''