diff options
author | Rob Landley <rob@landley.net> | 2015-09-17 01:49:48 -0500 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2015-09-17 01:49:48 -0500 |
commit | 35c92f1e396d86f04616cd01ef3f045bc2dfb98e (patch) | |
tree | 82071e13ec2b852dcf9e5a6880f903d714460abb /configure | |
parent | 59cd560200942a063c217e327fc7941ffb70abe9 (diff) | |
download | toybox-35c92f1e396d86f04616cd01ef3f045bc2dfb98e.tar.gz |
Fix a couple things gcc is too dumb to figure out on its own.
Diffstat (limited to 'configure')
-rw-r--r-- | configure | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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" |