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
#global
COMMON_MAKE_PATH ?= /opt/cern/buildsystem/generic/2.9.0
#Enable C++11 Support
COMPILER_FLAGS += -std=c++11
# product configuration
BIN_NAME = $(PROJECT)-$(PRODUCT)
DBG = false
......
......@@ -35,6 +35,9 @@ MINOR ?= 0
PATCH ?= 0
COMPILER_FLAGS = -DMAJOR=$(MAJOR) -DMINOR=$(MINOR) -DPATCH=$(PATCH)
#Enable C++11 Support
COMPILER_FLAGS += -std=c++11
# Comment IN/Out to enable NI-Support
#COMPILER_FLAGS += -DNI_SUPPORT_ENABLED=TRUE
......
......@@ -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 = -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)
#Enable C++11 Support
COMPILER_FLAGS += -std=c++11
LINKER_FLAGS = -Wl,-O1
# 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