OSDN Git Service

Add a new optimization flag at the suggestion of the musl guys telling gcc not to...
authorRob Landley <rob@landley.net>
Tue, 13 Aug 2013 08:22:44 +0000 (03:22 -0500)
committerRob Landley <rob@landley.net>
Tue, 13 Aug 2013 08:22:44 +0000 (03:22 -0500)
configure

index bf2561b..6047baf 100644 (file)
--- a/configure
+++ b/configure
@@ -8,7 +8,7 @@
 # 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 -Wl,--gc-sections"
+[ -z "$OPTIMIZE" ] && OPTIMIZE="-Os -ffunction-sections -fdata-sections -Wl,--gc-sections -fno-asynchronous-unwind-tables"
 [ -z "$CC" ] && CC=cc
 [ -z "$STRIP" ] && STRIP=strip