aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2015-09-17 01:49:48 -0500
committerRob Landley <rob@landley.net>2015-09-17 01:49:48 -0500
commit35c92f1e396d86f04616cd01ef3f045bc2dfb98e (patch)
tree82071e13ec2b852dcf9e5a6880f903d714460abb /configure
parent59cd560200942a063c217e327fc7941ffb70abe9 (diff)
downloadtoybox-35c92f1e396d86f04616cd01ef3f045bc2dfb98e.tar.gz
Fix a couple things gcc is too dumb to figure out on its own.
Diffstat (limited to 'configure')
-rw-r--r--configure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index 21d56f38..fe5f659d 100644
--- a/configure
+++ b/configure
@@ -10,7 +10,7 @@
[ -z "$CFLAGS" ] && CFLAGS="-Wall -Wundef -Wno-char-subscripts"
# Required for our expected ABI. we're 8-bit clean thus "char" must be unsigned.
CFLAGS="$CFLAGS -funsigned-char"
-[ -z "$OPTIMIZE" ] && OPTIMIZE="-Os -ffunction-sections -fdata-sections -fno-asynchronous-unwind-tables"
+[ -z "$OPTIMIZE" ] && OPTIMIZE="-Os -ffunction-sections -fdata-sections -fno-asynchronous-unwind-tables -fno-strict-aliasing"
# We accept LDFLAGS, but by default don't have anything in it
[ -z "$LDOPTIMIZE" ] && LDOPTIMIZE="-Wl,--gc-sections"