From 1f966a71a4a8dd9d452a734e9c525388434d4233 Mon Sep 17 00:00:00 2001 From: Thadeus Fleming Date: Tue, 16 May 2017 08:37:32 -0500 Subject: [PATCH] Re-add '-std=c++11' in ICG CXXFLAGS when Clang version >= 3.5 to address #424 --- trick_source/codegen/Interface_Code_Gen/makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/trick_source/codegen/Interface_Code_Gen/makefile b/trick_source/codegen/Interface_Code_Gen/makefile index 561f0590..58188983 100644 --- a/trick_source/codegen/Interface_Code_Gen/makefile +++ b/trick_source/codegen/Interface_Code_Gen/makefile @@ -44,6 +44,7 @@ endif ifeq ($(TRICK_HOST_TYPE),Linux) CLANGLIBS += $(shell $(LLVM_HOME)/bin/llvm-config --libs) ifeq ($(CLANG_MINOR_GTEQ5),1) +CXXFLAGS += -std=c++11 # Fedora 21 adds -ledit as a system lib, but it isn't installed, or required. CLANGLIBS += $(filter-out -ledit,$(shell $(LLVM_HOME)/bin/llvm-config --system-libs)) endif