projects
/
cdsspec-compiler.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b133a2b
)
common.mk: build with -O3 (except for Mac OSX)
author
Brian Norris
<banorris@uci.edu>
Thu, 1 Nov 2012 17:59:42 +0000
(10:59 -0700)
committer
Brian Norris
<banorris@uci.edu>
Thu, 1 Nov 2012 17:59:42 +0000
(10:59 -0700)
common.mk
patch
|
blob
|
history
diff --git
a/common.mk
b/common.mk
index 009ae634827f39f4d8dab210611e7b9f88bcbcec..b2adf4ca33ed25988348e712b5f57ada1a7b57c1 100644
(file)
--- a/
common.mk
+++ b/
common.mk
@@
-8,9
+8,11
@@
UNAME = $(shell uname)
LIB_NAME = model
LIB_SO = lib$(LIB_NAME).so
-CPPFLAGS += -Wall -g
-O0
+CPPFLAGS += -Wall -g
# Mac OSX options
ifeq ($(UNAME), Darwin)
-CPPFLAGS += -D_XOPEN_SOURCE -DMAC
+CPPFLAGS += -D_XOPEN_SOURCE -DMAC -O0
+else
+CPPFLAGS += -O3
endif