summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-biology/dialign-tx/files/dialign-tx-1.0.2-fix-build-system.patch')
-rw-r--r--sci-biology/dialign-tx/files/dialign-tx-1.0.2-fix-build-system.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/sci-biology/dialign-tx/files/dialign-tx-1.0.2-fix-build-system.patch b/sci-biology/dialign-tx/files/dialign-tx-1.0.2-fix-build-system.patch
new file mode 100644
index 00000000000..cbfd458043c
--- /dev/null
+++ b/sci-biology/dialign-tx/files/dialign-tx-1.0.2-fix-build-system.patch
@@ -0,0 +1,24 @@
+--- a/source/Makefile
++++ b/source/Makefile
+@@ -1,4 +1,3 @@
+-CC=gcc
+ # debug
+ #CPPFLAGS=-g -O0 -Q -v -da
+ #CPPFLAGS=-g -O0 -fstack-check -Q -v -da
+@@ -8,7 +7,6 @@
+ # THIS IS FOR THE OPTIMIZED ONE
+ #CPPFLAGS=-g
+ #CPPFLAGS=-O3 -march=i686 -funroll-loops
+-CPPFLAGS=-O3 -funroll-loops -march=i686 -mfpmath=sse -msse -mmmx
+ #CPPFLAGS=-march=athlon-mp -g -O0 -Wall -D_USE_XOPEN -D__unix__
+
+ OBJ_DIR=.
+@@ -33,7 +31,7 @@
+
+ museq: $(OBJ)
+ rm -f $(TARGET)/$@
+- $(CC) -o $(TARGET)/$@ \
++ $(CC) $(LDFLAGS) -o $(TARGET)/$@ \
+ $(OBJ) \
+ -pipe -Wall -lm
+ mv museq dialign-tx