projects
/
SXSI
/
TextCollection.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Updated construction of SWCSA
[SXSI/TextCollection.git]
/
swcsa
/
Makefile
diff --git
a/swcsa/Makefile
b/swcsa/Makefile
index
1d731af
..
5719be6
100644
(file)
--- a/
swcsa/Makefile
+++ b/
swcsa/Makefile
@@
-2,7
+2,11
@@
SRCDIRUTILS = utils
SRCDIRCSA = intIndex
CC = g++
SRCDIRCSA = intIndex
CC = g++
-# If you have trouble with make, e.g.:
+export CFLAGS = -O9 -D_FORTIFY_SOURCE=0
+#export CFLAGS = -O9 -m32 -L. -g -D_FORTIFY_SOURCE=0
+
+# Original settings:
+# If you have trouble with -m32, e.g.:
# /usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.4.3/libstdc++.a when searching for -lstdc++
# ...
# try adding
# /usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.4.3/libstdc++.a when searching for -lstdc++
# ...
# try adding
@@
-10,7
+14,7
@@
CC = g++
#
# The filename libstdc++.so.6.0.13 is probably different
# but any from /usr/lib32 is fine.
#
# The filename libstdc++.so.6.0.13 is probably different
# but any from /usr/lib32 is fine.
-export CFLAGS = -O9 -m32 -L. -D_FORTIFY_SOURCE=0
+
#
export CFLAGS = -O9 -m32 -L. -D_FORTIFY_SOURCE=0
#export CFLAGS = -O0 -m32 -pg
#export CFLAGS = -g -m32 -O0
#export CFLAGS = -O0 -m32 -pg
#export CFLAGS = -g -m32 -O0