[dragonegg] r182193 - The "was gcc built with C++" flag is no longer set by gcc-4.8 as it is always
Duncan Sands
baldrick at free.fr
Sat May 18 03:45:34 PDT 2013
Author: baldrick
Date: Sat May 18 05:45:34 2013
New Revision: 182193
URL: http://llvm.org/viewvc/llvm-project?rev=182193&view=rev
Log:
The "was gcc built with C++" flag is no longer set by gcc-4.8 as it is always
built with C++.
Modified:
dragonegg/trunk/Makefile
Modified: dragonegg/trunk/Makefile
URL: http://llvm.org/viewvc/llvm-project/dragonegg/trunk/Makefile?rev=182193&r1=182192&r2=182193&view=diff
==============================================================================
--- dragonegg/trunk/Makefile (original)
+++ dragonegg/trunk/Makefile Sat May 18 05:45:34 2013
@@ -86,6 +86,14 @@ CPP_OPTIONS+=$(CPPFLAGS) $(shell $(LLVM_
ifdef DISABLE_VERSION_CHECK
CPP_OPTIONS+=-DDISABLE_VERSION_CHECK
endif
+ifneq ($(GCC_MINOR), 5)
+ ifneq ($(GCC_MINOR), 6)
+ ifneq ($(GCC_MINOR), 7)
+ # gcc-4.8 and later are always built with C++.
+ CPP_OPTIONS+=-DENABLE_BUILD_WITH_CXX
+ endif
+ endif
+endif
LD_OPTIONS+=$(shell $(LLVM_CONFIG) --ldflags) $(LDFLAGS)
More information about the llvm-commits
mailing list