summaryrefslogtreecommitdiff
path: root/package/dnsmasq/patches/patch-Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2011-01-07 22:50:11 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2011-01-07 22:50:11 +0100
commite01c60984a6a01e9945b80ee7f343514b703b070 (patch)
tree97cdf041ae98ccc9c2b2d26c9873aeda912b193e /package/dnsmasq/patches/patch-Makefile
parent1168c2a747460b62e85bc021f16f8d21ff2a6b86 (diff)
use CFLAGS
Diffstat (limited to 'package/dnsmasq/patches/patch-Makefile')
-rw-r--r--package/dnsmasq/patches/patch-Makefile20
1 files changed, 20 insertions, 0 deletions
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 <http://www.gnu.org/licenses/>.
+
+-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
+
+ #################################################################
+