[packages] freeradius2: add a patch missed from [17959]
git-svn-id: svn://svn.openwrt.org/openwrt/packages@17987 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
da19d5686c
commit
cd4e00aebf
15
net/freeradius2/patches/008-honor_ccpflags.patch
Normal file
15
net/freeradius2/patches/008-honor_ccpflags.patch
Normal file
@ -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),)
|
||||
#######################################################################
|
Loading…
x
Reference in New Issue
Block a user