diff --git a/make/defs.mk b/make/defs.mk index 0c871731..17936265 100644 --- a/make/defs.mk +++ b/make/defs.mk @@ -210,8 +210,10 @@ GCC_MINOR = $(shell gcc -v 2>&1 | grep version | awk '{ split($$3, GCC_REV = $(shell gcc -v 2>&1 | grep version | awk '{ split($$3,a,"."); print a[3];}') ifneq ($(GCC_VERSION),4.1.0) +ifneq ($(GCC_VERSION),4.5.1) BUILD_CPPFLAGS += -std=c++11 endif +endif LD_VERSION = $(shell ld -V | $(SED) '/GNU ld/ !d; s/(.*)//; s/[^0-9.-]*//') LD_MAJOR = $(shell echo $(LD_VERSION) | cut -d. -f1)