diff options
author | Rob Landley <rob@landley.net> | 2013-08-13 03:22:44 -0500 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2013-08-13 03:22:44 -0500 |
commit | 0d74ad383b8bb8aa82e9cb6449b509ec6d4794a5 (patch) | |
tree | 38a07b6f9c800ee0de946f0fd2369ac5b4789882 | |
parent | 9f088a16471c8f9560062da0fe6677e22fb83d53 (diff) | |
download | toybox-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-- | configure | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |