mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-01-22 12:24:19 +00:00
use c++11 for 4.9 only
This commit is contained in:
parent
9e4cac2373
commit
610e9e3660
@ -5,10 +5,10 @@ ifeq ($(shell expr match ${CXXVER} "4\.[0-5]"),3)
|
|||||||
$(error Compiler too old)
|
$(error Compiler too old)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq (${CXXVER},"4.6")
|
ifeq (${CXXVER},"4.9")
|
||||||
CFLAGS += -std=c++0x
|
|
||||||
else
|
|
||||||
CFLAGS += -std=c++11
|
CFLAGS += -std=c++11
|
||||||
|
else
|
||||||
|
CFLAGS += -std=c++0x
|
||||||
endif
|
endif
|
||||||
|
|
||||||
include filelist.mk
|
include filelist.mk
|
||||||
|
Loading…
x
Reference in New Issue
Block a user