mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-15 12:03:31 +01:00
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:
parent
8ef7d5dbcf
commit
aa09cd5c94
1 changed files with 2 additions and 0 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue