projects
/
SXSI
/
libcds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6d15f4f
)
Add optimization flags to g++
author
Kim Nguyễn
<kn@lri.fr>
Tue, 29 May 2012 06:16:16 +0000
(08:16 +0200)
committer
Kim Nguyễn
<kn@lri.fr>
Tue, 29 May 2012 06:16:16 +0000
(08:16 +0200)
src/Makefile
patch
|
blob
|
history
diff --git
a/src/Makefile
b/src/Makefile
index
033d2db
..
9812eac
100644
(file)
--- a/
src/Makefile
+++ b/
src/Makefile
@@
-2,13
+2,13
@@
CPP=g++
POPCOUNT=$(shell grep -q popcnt /proc/cpuinfo && echo 1)
ifeq ($(POPCOUNT), 1)
- POPCOUNT_FLAG=-DHAS_NATIVE_POPCOUNT
+ POPCOUNT_FLAG=-DHAS_NATIVE_POPCOUNT
-mpopcnt
else
#POPCOUNT_FLAG=-DHAS_POPCOUNT_TABLE
POPCOUNT_FLAG=
endif
-CPPFLAGS=-O3 -Wall -DNDEBUG -fno-PIC $(POPCOUNT_FLAG) -
flto
+CPPFLAGS=-O3 -Wall -DNDEBUG -fno-PIC $(POPCOUNT_FLAG) -
g -msse
INCL=-I../includes/