From e01c60984a6a01e9945b80ee7f343514b703b070 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Fri, 7 Jan 2011 22:50:11 +0100 Subject: use CFLAGS --- package/dnsmasq/patches/patch-Makefile | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 package/dnsmasq/patches/patch-Makefile (limited to 'package/dnsmasq/patches/patch-Makefile') diff --git a/package/dnsmasq/patches/patch-Makefile b/package/dnsmasq/patches/patch-Makefile new file mode 100644 index 000000000..3bc68e266 --- /dev/null +++ b/package/dnsmasq/patches/patch-Makefile @@ -0,0 +1,20 @@ +--- dnsmasq-2.55.orig/Makefile 2010-06-06 21:22:30.000000000 +0200 ++++ dnsmasq-2.55/Makefile 2011-01-07 21:43:23.000000000 +0100 +@@ -13,7 +13,7 @@ + # You should have received a copy of the GNU General Public License + # along with this program. If not, see . + +-PREFIX = /usr/local ++PREFIX = /usr + BINDIR = ${PREFIX}/sbin + MANDIR = ${PREFIX}/share/man + LOCALEDIR = ${PREFIX}/share/locale +@@ -24,7 +24,7 @@ MSGMERGE = msgmerge + MSGFMT = msgfmt + XGETTEXT = xgettext + +-CFLAGS = -Wall -W -O2 ++CFLAGS ?= -Wall + + ################################################################# + -- cgit v1.2.3