16 lines
585 B
Diff
16 lines
585 B
Diff
|
--- 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),)
|
||
|
#######################################################################
|