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