X-Git-Url: http://git.nguyen.vg/gitweb/?a=blobdiff_plain;f=swcsa%2FMakefile;h=5719be63e8bf3484eabf1eb7f534ac2edc352751;hb=443151511a86083b21c1c06eb610f86b3aed35be;hp=1d731af8dd9a2cee2e1ddc0804904758992f03c5;hpb=102e33b134075765e6d4e0c38bc1307568ce5602;p=SXSI%2FTextCollection.git diff --git a/swcsa/Makefile b/swcsa/Makefile index 1d731af..5719be6 100644 --- a/swcsa/Makefile +++ b/swcsa/Makefile @@ -2,7 +2,11 @@ SRCDIRUTILS = utils 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 @@ -10,7 +14,7 @@ CC = g++ # # 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