Skip to content
Snippets Groups Projects
Commit 8a438acf authored by al.schwinn's avatar al.schwinn
Browse files

enable C++ 11 support

parent 4b1fb761
No related branches found
No related tags found
No related merge requests found
...@@ -23,6 +23,9 @@ SKIP_MANIFEST = TRUE ...@@ -23,6 +23,9 @@ SKIP_MANIFEST = TRUE
#global #global
COMMON_MAKE_PATH ?= /opt/cern/buildsystem/generic/2.9.0 COMMON_MAKE_PATH ?= /opt/cern/buildsystem/generic/2.9.0
#Enable C++11 Support
COMPILER_FLAGS += -std=c++11
# product configuration # product configuration
BIN_NAME = $(PROJECT)-$(PRODUCT) BIN_NAME = $(PROJECT)-$(PRODUCT)
DBG = false DBG = false
......
...@@ -35,6 +35,9 @@ MINOR ?= 0 ...@@ -35,6 +35,9 @@ MINOR ?= 0
PATCH ?= 0 PATCH ?= 0
COMPILER_FLAGS = -DMAJOR=$(MAJOR) -DMINOR=$(MINOR) -DPATCH=$(PATCH) COMPILER_FLAGS = -DMAJOR=$(MAJOR) -DMINOR=$(MINOR) -DPATCH=$(PATCH)
#Enable C++11 Support
COMPILER_FLAGS += -std=c++11
# Comment IN/Out to enable NI-Support # Comment IN/Out to enable NI-Support
#COMPILER_FLAGS += -DNI_SUPPORT_ENABLED=TRUE #COMPILER_FLAGS += -DNI_SUPPORT_ENABLED=TRUE
......
...@@ -30,6 +30,10 @@ DBG = false ...@@ -30,6 +30,10 @@ DBG = false
#DEFINES = -DWITH_RBAC -D_REENTRANT -DQT_NO_DEBUG_OUTPUT -DQT_NO_WARNING_OUTPUT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED #DEFINES = -DWITH_RBAC -D_REENTRANT -DQT_NO_DEBUG_OUTPUT -DQT_NO_WARNING_OUTPUT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED
DEFINES = -D_REENTRANT -DQT_NO_DEBUG_OUTPUT -DQT_NO_WARNING_OUTPUT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED DEFINES = -D_REENTRANT -DQT_NO_DEBUG_OUTPUT -DQT_NO_WARNING_OUTPUT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED
COMPILER_FLAGS = -O2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -mtune=generic $(DEFINES) COMPILER_FLAGS = -O2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -mtune=generic $(DEFINES)
#Enable C++11 Support
COMPILER_FLAGS += -std=c++11
LINKER_FLAGS = -Wl,-O1 LINKER_FLAGS = -Wl,-O1
# list Qt generated files # list Qt generated files
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment