summaryrefslogtreecommitdiffstats
path: root/extra/opennhrp/opennhrp-0.9.2-cflags.patch
diff options
context:
space:
mode:
Diffstat (limited to 'extra/opennhrp/opennhrp-0.9.2-cflags.patch')
-rw-r--r--extra/opennhrp/opennhrp-0.9.2-cflags.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/extra/opennhrp/opennhrp-0.9.2-cflags.patch b/extra/opennhrp/opennhrp-0.9.2-cflags.patch
new file mode 100644
index 000000000..9eeeb66a2
--- /dev/null
+++ b/extra/opennhrp/opennhrp-0.9.2-cflags.patch
@@ -0,0 +1,15 @@
+--- opennhrp-0.9.2/Makefile.orig Tue Feb 3 14:51:18 2009
++++ opennhrp-0.9.2/Makefile Tue Feb 3 14:51:07 2009
+@@ -22,9 +22,9 @@
+ INSTALL=install
+ INSTALLDIR=$(INSTALL) -d
+
+-CFLAGS=-Werror -Wall -Wstrict-prototypes -std=gnu99 -O2 \
+- -DOPENNHRP_VERSION=\"$(FULL_VERSION)\"
+-LDFLAGS=
++CFLAGS?=-Werror -Wall -Wstrict-prototypes -O2
++CFLAGS+=-std=gnu99 -DOPENNHRP_VERSION=\"$(FULL_VERSION)\"
++LDFLAGS?=
+
+ DESTDIR=
+ SBINDIR=/usr/sbin