defs.mk: Add gcc 4.5.1 to those blacklisted for c++11, too

Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
Jan Lindemann 2014-07-21 10:56:54 +00:00
commit aa09cd5c94

View file

@ -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)