packages/net/batman/patches/001-extra_cflags.patch
florian cf563a1cab Fix batman compilation by using EXTRA_CFLAGS and not overriding CFLAGS
git-svn-id: svn://svn.openwrt.org/openwrt/packages@10541 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-03-02 17:21:15 +00:00

13 lines
487 B
Diff

diff -urN batmand-r963/linux/modules/Makefile.kbuild batmand-r963.new/linux/modules/Makefile.kbuild
--- batmand-r963/linux/modules/Makefile.kbuild 2008-01-28 08:47:35.000000000 +0100
+++ batmand-r963.new/linux/modules/Makefile.kbuild 2008-03-02 18:24:49.000000000 +0100
@@ -3,7 +3,7 @@
endif
LINUX26:=2.6
-CFLAGS +=-DREVISION_VERSION=\"\ rv$(REVISION)\"
+EXTRA_CFLAGS +=-DREVISION_VERSION=\"\ rv$(REVISION)\"
ifeq ($(strip $(findstring $(LINUX26),$(LINUX_VERSION))),$(LINUX26))