aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2013-08-13 03:22:44 -0500
committerRob Landley <rob@landley.net>2013-08-13 03:22:44 -0500
commit0d74ad383b8bb8aa82e9cb6449b509ec6d4794a5 (patch)
tree38a07b6f9c800ee0de946f0fd2369ac5b4789882
parent9f088a16471c8f9560062da0fe6677e22fb83d53 (diff)
downloadtoybox-0d74ad383b8bb8aa82e9cb6449b509ec6d4794a5.tar.gz
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.
-rw-r--r--configure2
1 files changed, 1 insertions, 1 deletions
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