[packages] freeradius2: add a patch missed from [17959]
authorNicolas Thill <nico@openwrt.org>
Wed, 7 Oct 2009 22:33:27 +0000 (22:33 +0000)
committerNicolas Thill <nico@openwrt.org>
Wed, 7 Oct 2009 22:33:27 +0000 (22:33 +0000)
SVN-Revision: 17987

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),)
+ #######################################################################