Skip to content

Commit

Permalink
Add a new optimization flag at the suggestion of the musl guys tellin…
Browse files Browse the repository at this point in the history
…g gcc not to produce a large unused dwarf table for C++ style stack unwinding.
  • Loading branch information
landley committed Aug 13, 2013
1 parent 9f088a1 commit 0d74ad3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion configure
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 0d74ad3

Please sign in to comment.