diff options
Diffstat (limited to 'csu')
-rw-r--r-- | csu/Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/csu/Makefile b/csu/Makefile index 88646b6e8f..490d0b0f3b 100644 --- a/csu/Makefile +++ b/csu/Makefile @@ -82,6 +82,9 @@ extra-objs += $(crtstuff:=.o) extra-objs += abi-note.o init.o asm-CPPFLAGS += -I$(objpfx). +# Enable unwinding so backtrace unwinds to __libc_start_main +CFLAGS-libc-start.c += -funwind-tables + include ../Rules # Make these in the lib pass so they're available in time to link things with. |