summaryrefslogtreecommitdiffstatshomepage
path: root/makefile
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2015-04-06 16:27:14 +0200
committer Miodrag Milanovic <mmicko@gmail.com>2015-04-06 16:27:14 +0200
commit1ff712db7a86ed4c85ee01e0c109242a03b4917a (patch)
tree1ecaebb55a0f50024dc6d2524bcdad437ef5d8cc /makefile
parentcdc1fb2bee127f620640be0899f272236e1f1858 (diff)
resurrected some more compile options (nw)
Diffstat (limited to 'makefile')
-rw-r--r--makefile25
1 files changed, 25 insertions, 0 deletions
diff --git a/makefile b/makefile
index e512dca9dd3..1a15fe4a9d7 100644
--- a/makefile
+++ b/makefile
@@ -66,6 +66,11 @@
# OVERRIDE_CXX = c++
# OVERRIDE_LD = ld
+# DEPRECATED = 1
+# LTO = 1
+# SSE2 = 1
+# OPENMP = 1
+# CPP11 = 1
###########################################################################
################## END USER-CONFIGURABLE OPTIONS ######################
@@ -452,6 +457,26 @@ ifdef LDOPTS
PARAMS += --LDOPTS='$(LDOPTS)'
endif
+ifdef LTO
+PARAMS += --LTO='$(LTO)'
+endif
+
+ifdef DEPRECATED
+PARAMS += --DEPRECATED='$(DEPRECATED)'
+endif
+
+ifdef SSE2
+PARAMS += --SSE2='$(SSE2)'
+endif
+
+ifdef OPENMP
+PARAMS += --OPENMP='$(OPENMP)'
+endif
+
+ifdef CPP11
+PARAMS += --CPP11='$(CPP11)'
+endif
+
#-------------------------------------------------
# All scripts
#-------------------------------------------------