summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2021-07-18 00:37:58 +0100
committerSergei Trofimovich <slyfox@gentoo.org>2021-07-18 00:37:58 +0100
commit5d7a0f2bd35ea01f24883bc2e21e1bda5458584e (patch)
tree51468b966b53300a3cc781bfda87cef30d3458fa
parentcrossdev, emerge-wrapper: request EAPI=7 on eclass imports (diff)
downloadcrossdev-5d7a0f2bd35ea01f24883bc2e21e1bda5458584e.tar.gz
crossdev-5d7a0f2bd35ea01f24883bc2e21e1bda5458584e.tar.bz2
crossdev-5d7a0f2bd35ea01f24883bc2e21e1bda5458584e.zip
crossdev: disable USE=sanitize for gcc-stage2 as well
Reported-by: tt_1 Bug: https://bugs.gentoo.org/799707 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
-rwxr-xr-xcrossdev5
1 files changed, 4 insertions, 1 deletions
diff --git a/crossdev b/crossdev
index 57ffbb5..cde01c2 100755
--- a/crossdev
+++ b/crossdev
@@ -788,7 +788,10 @@ AUTOGEN_TAG="# Autogenerated and managed by crossdev"
GUSE_DISABLE="-boundschecking -d -gcj -gtk -libffi -mudflap -objc -objc++ -objc-gc"
# These are disabled only for stage1 gcc. Normally need libc presence.
GUSE_DISABLE_STAGE_1="${GUSE_DISABLE} -fortran -go -jit -cxx -mpx -openmp -sanitize -vtv"
-GUSE_DISABLE_STAGE_2="${GUSE_DISABLE}"
+# These are also disabled for stage2, but could be used later if dependencies
+# are installed into ${SYSROOT}:
+# - sanitize needs crypt.h: #799707
+GUSE_DISABLE_STAGE_2="${GUSE_DISABLE} -sanitize"
# mingw64-runtime needs a stage2 compiler to build libraries: https://bugs.gentoo.org/751295
LUSE_DISABLE="-libraries"