[llvm-commits] [compiler-rt] r145967 - in /compiler-rt/trunk: Makefile make/config.mk
Kostya Serebryany
kcc at google.com
Tue Dec 6 13:11:50 PST 2011
Author: kcc
Date: Tue Dec 6 15:11:50 2011
New Revision: 145967
URL: http://llvm.org/viewvc/llvm-project?rev=145967&view=rev
Log:
build all C++ files in compiler-rt with -fno-exceptions
Modified:
compiler-rt/trunk/Makefile
compiler-rt/trunk/make/config.mk
Modified: compiler-rt/trunk/Makefile
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/Makefile?rev=145967&r1=145966&r2=145967&view=diff
==============================================================================
--- compiler-rt/trunk/Makefile (original)
+++ compiler-rt/trunk/Makefile Tue Dec 6 15:11:50 2011
@@ -230,7 +230,7 @@
$(Verb) $(Tmp.CC) $(Tmp.CFLAGS) -c -o $$@ $$<
$(Tmp.ObjPath)/%.o: $(Tmp.SrcPath)/%.cc $(Tmp.Dependencies) $(Tmp.ObjPath)/.dir
$(Summary) " COMPILE: $(Tmp.Name)/$(Tmp.Config)/$(Tmp.Arch): $$<"
- $(Verb) $(Tmp.CC) $(Tmp.CFLAGS) -c -o $$@ $$<
+ $(Verb) $(Tmp.CC) $(Tmp.CFLAGS) -c $(COMMON_CXXFLAGS) -o $$@ $$<
.PRECIOUS: $(Tmp.ObjPath)/.dir
endef
Modified: compiler-rt/trunk/make/config.mk
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/make/config.mk?rev=145967&r1=145966&r2=145967&view=diff
==============================================================================
--- compiler-rt/trunk/make/config.mk (original)
+++ compiler-rt/trunk/make/config.mk Tue Dec 6 15:11:50 2011
@@ -39,3 +39,7 @@
ifndef Summary
Summary = $(Echo)
endif
+
+###
+# Common compiler options
+COMMON_CXXFLAGS=-fno-exceptions
More information about the llvm-commits
mailing list