bsc: disable hardening in some packages

This commit is contained in:
2021-04-21 19:42:37 +02:00
parent a4b8f8e94b
commit 760787858a
10 changed files with 15 additions and 2 deletions

View File

@@ -49,7 +49,9 @@ stdenv.mkDerivation rec {
# Error with -D_FORTIFY_SOURCE=2, see https://bugs.gentoo.org/636604:
# /build/source/compiler-rt/lib/tsan/dd/dd_interceptors.cpp:225:20:
# error: redefinition of 'realpath'
hardeningDisable = [ "fortify" ];
# Requires disabling the "fortify" set of flags, however, for performance we
# disable all:
hardeningDisable = [ "all" ];
cmakeBuildType = if enableDebug then "Debug" else "Release";