changeset 1003:67eedf74a707

Add a new optimization flag at the suggestion of the musl guys telling gcc not to produce a large unused dwarf table for C++ style stack unwinding.
author Rob Landley <rob@landley.net>
date Tue, 13 Aug 2013 03:22:44 -0500
parents 4226645d3388
children 13ac68b51d3d
files configure
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/configure	Mon Aug 12 04:28:03 2013 -0500
+++ b/configure	Tue Aug 13 03:22:44 2013 -0500
@@ -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