Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.

2011-11-18  Steve Ellcey  <sje@cup.hp.com>

	* Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.

From-SVN: r181495
This commit is contained in:
Steve Ellcey 2011-11-18 22:26:44 +00:00 committed by Steve Ellcey
parent 2283c41652
commit 93aeb62b9e
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2011-11-18 Steve Ellcey <sje@cup.hp.com>
* Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
2011-11-18 Georg-Johann Lay <avr@gjlay.de>
PR target/49868

View File

@ -827,9 +827,10 @@ include $(iterator)
endif
# Build LIBUNWIND.
# Build LIBUNWIND. Use -fno-exceptions so that the unwind library does
# not generate calls to __gcc_personality_v0.
c_flags := -fexceptions
c_flags := -fno-exceptions
libunwind-objects += $(addsuffix $(objext),$(basename $(notdir $(LIBUNWIND))))