aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2019-06-08 19:14:47 +0100
committerSergei Trofimovich <slyfox@gentoo.org>2019-06-08 19:14:47 +0100
commitd2568f29e87347c458b1b124d9c669b9995effb9 (patch)
tree8116a42d52ee13351f4f90134d6799fcb05aa608
parentemerge-wrapper: pin bare-metal targets to LIBC=newlib (diff)
downloadcrossdev-d2568f29e87347c458b1b124d9c669b9995effb9.tar.gz
crossdev-d2568f29e87347c458b1b124d9c669b9995effb9.tar.bz2
crossdev-d2568f29e87347c458b1b124d9c669b9995effb9.zip
crossdev: disable USE=hardened by default on bare-metal
USE=hardened enables more stack-check options by default At least on arm-none-eabi that causes build failure: gcc-8.3.0/libstdc++-v3/libsupc++/array_type_info.cc:30:2: sorry, unimplemented: -fstack-check=specific for Thumb-1 {} ^ Reported-by: Bertrand Jacquin Bug: https://bugs.gentoo.org/687598 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
-rwxr-xr-xcrossdev1
1 files changed, 1 insertions, 0 deletions
diff --git a/crossdev b/crossdev
index 673f5f8..5e31e7b 100755
--- a/crossdev
+++ b/crossdev
@@ -326,6 +326,7 @@ parse_target() {
STAGE_DEFAULT=${STAGE_LIBC}
GUSE+=" cxx -openmp" #489798
GUSE+=" -fortran" #589672, needs syscalls
+ GUSE+=" -hardened" #687598, needs -fstack-check=specific support
MULTILIB_USE="yes" #407275
WITH_DEF_HEADERS="no"
;;