From 0d74ad383b8bb8aa82e9cb6449b509ec6d4794a5 Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Tue, 13 Aug 2013 03:22:44 -0500 Subject: 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. --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'configure') diff --git a/configure b/configure index bf2561b7..6047baf7 100644 --- 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 -- cgit v1.2.3