[packages] freeradius2: add a patch missed from [17959]
authornico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 7 Oct 2009 22:33:27 +0000 (22:33 +0000)
committernico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 7 Oct 2009 22:33:27 +0000 (22:33 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@17987 3c298f89-4303-0410-b956-a3cf2f4a3e73

net/freeradius2/patches/008-honor_ccpflags.patch [new file with mode: 0644]

diff --git a/net/freeradius2/patches/008-honor_ccpflags.patch b/net/freeradius2/patches/008-honor_ccpflags.patch
new file mode 100644 (file)
index 0000000..bb5f81a
--- /dev/null
@@ -0,0 +1,15 @@
+--- a/src/modules/rules.mak
++++ b/src/modules/rules.mak
+@@ -63,10 +63,10 @@ $(LT_OBJS): $(SERVER_HEADERS)
+ #
+ #######################################################################
+ %.lo: %.c
+-      $(LIBTOOL) --mode=compile $(CC) $(CFLAGS) $(RLM_CFLAGS) -c $<
++      $(LIBTOOL) --mode=compile $(CC) $(CFLAGS) $(CPPFLAGS) $(RLM_CFLAGS) -c $<
+ %.lo: %.cpp
+-      $(LIBTOOL) --mode=compile $(CXX) $(CFLAGS) $(RLM_CFLAGS) -c $<
++      $(LIBTOOL) --mode=compile $(CXX) $(CFLAGS) $(CPPFLAGS) $(RLM_CFLAGS) -c $<
+ ifneq ($(TARGET),)
+ #######################################################################