]> gitweb.factorcode.org Git - factor.git/commitdiff
Revert "GNUmakefile: Don't compile.gch with -std=c++11"
authorDoug Coleman <doug.coleman@gmail.com>
Fri, 5 Jun 2015 17:52:48 +0000 (10:52 -0700)
committerDoug Coleman <doug.coleman@gmail.com>
Fri, 5 Jun 2015 17:52:48 +0000 (10:52 -0700)
This wasn't the problem.

This reverts commit e97e74b682aa1692fd72fe63f22b991176bb3e4e.

GNUmakefile

index b9874f3666193eaa7225aa1a41152ffe96fddf83..951aa6849c461e185f4a83fea5ecc1c597972793 100644 (file)
@@ -227,7 +227,7 @@ vm/ffi_test.o: vm/ffi_test.c
        $(TOOLCHAIN_PREFIX)$(CC) -c $(CFLAGS) $(FFI_TEST_CFLAGS) -o $@ $<
 
 vm/master.hpp.gch: vm/master.hpp $(MASTER_HEADERS)
-       $(TOOLCHAIN_PREFIX)$(CXX) -c -x c++-header $(CFLAGS) -o $@ $<
+       $(TOOLCHAIN_PREFIX)$(CXX) -c -x c++-header $(CFLAGS) $(CXXFLAGS) -o $@ $<
 
 %.o: %.cpp vm/master.hpp.gch
        $(TOOLCHAIN_PREFIX)$(CXX) -c $(CFLAGS) $(CXXFLAGS) -o $@ $<