projects
/
SXSI
/
libbp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
9614bef
)
Enable gcc's link time optimizations.
author
Kim Nguyễn
<kn@lri.fr>
Thu, 1 Mar 2012 13:22:11 +0000
(14:22 +0100)
committer
Kim Nguyễn
<kn@lri.fr>
Thu, 1 Mar 2012 13:22:11 +0000
(14:22 +0100)
Makefile
patch
|
blob
|
history
diff --git
a/Makefile
b/Makefile
index
23cd4f6
..
3effd67
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-14,9
+14,9
@@
else
endif
ifeq ($(DEBUG), true)
endif
ifeq ($(DEBUG), true)
- OPT_FLAGS=-O0 -g $(POPCOUNT_FLAG) -
fno-PIC -
static
+ OPT_FLAGS=-O0 -g $(POPCOUNT_FLAG) -static
else
else
- OPT_FLAGS=-O4 $(POPCOUNT_FLAG) -
fno-PIC -static
+ OPT_FLAGS=-O4 $(POPCOUNT_FLAG) -
static -flto
endif
endif
@@
-24,7
+24,7
@@
endif
INC_FLAGS=-I.
CFLAGS= $(INC_FLAGS) $(OPT_FLAGS)
CXXFLAGS= $(INC_FLAGS) $(OPT_FLAGS)
INC_FLAGS=-I.
CFLAGS= $(INC_FLAGS) $(OPT_FLAGS)
CXXFLAGS= $(INC_FLAGS) $(OPT_FLAGS)
-CC=g
cc
+CC=g
++
OBJECTS_BP=bp.o bp-utils.o bp-darray.o bp-core.o
OBJECTS_BP=bp.o bp-utils.o bp-darray.o bp-core.o