From 35c92f1e396d86f04616cd01ef3f045bc2dfb98e Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Thu, 17 Sep 2015 01:49:48 -0500 Subject: Fix a couple things gcc is too dumb to figure out on its own. --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'configure') 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" -- cgit v1.2.3