Update Bliss to use -O3

This commit is contained in:
Erik Schnetter 2016-06-18 18:02:52 -04:00
parent 64aaf7ba81
commit 92a7c0ddd5

View file

@ -20,14 +20,14 @@
+all: libbliss_gmp.la bliss_gmp +all: libbliss_gmp.la bliss_gmp
+ +
+libbliss_gmp.la: $(OBJS) +libbliss_gmp.la: $(OBJS)
+ libtool --mode=link --tag=CXX c++ -g -O2 \ + libtool --mode=link --tag=CXX c++ -g -O3 \
+ -rpath $(PREFIX)/lib -o $@ $^ -L$(GMP_PREFIX)/lib -lgmp + -rpath $(PREFIX)/lib -o $@ $^ -L$(GMP_PREFIX)/lib -lgmp
+ +
+bliss_gmp: bliss.lo libbliss_gmp.la +bliss_gmp: bliss.lo libbliss_gmp.la
+ libtool --mode=link --tag=CXX c++ -g -O2 -o $@ $^ + libtool --mode=link --tag=CXX c++ -g -O3 -o $@ $^
+ +
+%.lo: %.cc +%.lo: %.cc
+ libtool --mode=compile --tag=CXX c++ -g -O2 -DBLISS_USE_GMP -c $*.cc + libtool --mode=compile --tag=CXX c++ -g -O3 -DBLISS_USE_GMP -c $*.cc
+ +
+install: +install:
+ mkdir -p $(PREFIX)/bin + mkdir -p $(PREFIX)/bin