summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-biology/poa/files/respect-cflags.patch')
-rw-r--r--sci-biology/poa/files/respect-cflags.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/sci-biology/poa/files/respect-cflags.patch b/sci-biology/poa/files/respect-cflags.patch
new file mode 100644
index 000000000000..2ae08db4ff4d
--- /dev/null
+++ b/sci-biology/poa/files/respect-cflags.patch
@@ -0,0 +1,13 @@
+diff -urN poaV2.orig/Makefile poaV2/Makefile
+--- poaV2.orig/Makefile 2004-03-11 21:33:30.000000000 -0800
++++ poaV2/Makefile 2006-03-09 20:09:27.000000000 -0800
+@@ -28,7 +28,8 @@
+
+ CC = gcc
+ #CFLAGS= -g -ansi-strict -W -Wall -DUSE_WEIGHTED_LINKS -DUSE_PROJECT_HEADER -I.
+-CFLAGS= -g -DUSE_WEIGHTED_LINKS -DUSE_PROJECT_HEADER -I.
++OPT_CFLAGS = -g
++CFLAGS= $(OPT_CFLAGS) -DUSE_WEIGHTED_LINKS -DUSE_PROJECT_HEADER -I.
+ # -I$(HOME)/lib/include
+ # -DREPORT_MAX_ALLOC
+