summaryrefslogtreecommitdiff
path: root/util/xcompile
diff options
context:
space:
mode:
Diffstat (limited to 'util/xcompile')
-rw-r--r--util/xcompile/xcompile1
1 files changed, 1 insertions, 0 deletions
diff --git a/util/xcompile/xcompile b/util/xcompile/xcompile
index 65e6e704f7..1ab739b3c0 100644
--- a/util/xcompile/xcompile
+++ b/util/xcompile/xcompile
@@ -75,6 +75,7 @@ if [ "$GCCPREFIX" = "invalid" ]; then
fi
CC="${GCCPREFIX}gcc"
+testcc "$CC" "$CFLAGS-Wa,--divide " && CFLAGS="$CFLAGS-Wa,--divide "
testcc "$CC" "$CFLAGS-fno-stack-protector " && CFLAGS="$CFLAGS-fno-stack-protector "
testcc "$CC" "$CFLAGS-Wl,--build-id=none " && CFLAGS="$CFLAGS-Wl,--build-id=none "