no -std=c++11 for msvc
specific to gcc/clang
This commit is contained in:
@@ -43,3 +43,7 @@ CHECK_RELEASE = YES
|
||||
|
||||
# MSVC - skip defining min()/max() macros
|
||||
USR_CPPFLAGS_WIN32 += -DNOMINMAX
|
||||
|
||||
ifneq ($(filter-out msvc,$(CMPLR_CLASS)),)
|
||||
USR_CXXFLAGS += -std=c++11
|
||||
endif
|
||||
|
||||
@@ -7,8 +7,6 @@ include $(TOP)/configure/CONFIG
|
||||
|
||||
USR_CPPFLAGS += -DPVXS_API_BUILDING
|
||||
|
||||
USR_CXXFLAGS += -std=c++11
|
||||
|
||||
# fault on any undefined symbols (eg. from missing LIB_SYS_LIBS)
|
||||
USR_LDFLAGS_Linux += -Wl,--no-undefined -Wl,--no-allow-shlib-undefined
|
||||
USR_LDFLAGS_DEFAULT +=
|
||||
|
||||
@@ -8,8 +8,6 @@ include $(TOP)/configure/CONFIG
|
||||
# access to private headers
|
||||
USR_CPPFLAGS += -I$(TOP)/src
|
||||
|
||||
USR_CXXFLAGS += -std=c++11
|
||||
|
||||
PROD_LIBS += pvxs Com
|
||||
|
||||
TESTPROD += testsock
|
||||
|
||||
@@ -8,8 +8,6 @@ include $(TOP)/configure/CONFIG
|
||||
# access to private headers
|
||||
USR_CPPFLAGS += -I$(TOP)/src
|
||||
|
||||
USR_CXXFLAGS += -std=c++11
|
||||
|
||||
PROD_LIBS += pvxs Com
|
||||
|
||||
PROD += pvxvct
|
||||
|
||||
Reference in New Issue
Block a user