From aa5ff42284dc5af948f556bf169008fa2991ef84 Mon Sep 17 00:00:00 2001 From: brain Date: Wed, 13 Dec 2006 20:35:54 +0000 Subject: On now-ancient freebsd 5.2.1, fix the compile by forcing the $(CC) var down the line into src/modes/Makefile git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5982 e03df62e-2008-0410-955e-edbf42e46eb7 --- configure | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'configure') diff --git a/configure b/configure index 949e18481..184d5b389 100755 --- a/configure +++ b/configure @@ -1679,7 +1679,7 @@ channels.o: channels.cpp ../include/base.h ../include/channels.h ../include/insp \$(CC) -pipe -I../include \$(FLAGS) -export-dynamic -c channels.cpp mode.o: mode.cpp ../include/base.h ../include/mode.h ../include/inspircd.h ../include/channels.h ../include/users.h ../include/globals.h ../include/inspircd_config.h \$(RELCPPFILES) modes/modeclasses.a - \${MAKE} -C "modes" DIRNAME="src/modes" \$(MAKEARGS) + \${MAKE} -C "modes" DIRNAME="src/modes" CC="\$(CC)" \$(MAKEARGS) \$(CC) -pipe -I../include \$(FLAGS) -export-dynamic -c mode.cpp xline.o: xline.cpp ../include/base.h ../include/xline.h ../include/inspircd.h ../include/channels.h ../include/users.h ../include/globals.h ../include/inspircd_config.h @@ -1812,7 +1812,7 @@ libIRCDchannels.so: channels.cpp ../include/base.h ../include/channels.h ../incl libIRCDmode.so: mode.cpp ../include/base.h ../include/mode.h ../include/inspircd.h ../include/channels.h ../include/users.h ../include/globals.h ../include/inspircd_config.h \$(RELCPPFILES) \$(CC) -pipe -I../include \$(FLAGS) -export-dynamic -c mode.cpp - \${MAKE} -C "modes" DIRNAME="src/modes" \$(MAKEARGS) CPPFILES="\$(CPPFILES)" + \${MAKE} -C "modes" DIRNAME="src/modes" CC="\$(CC)" \$(MAKEARGS) CPPFILES="\$(CPPFILES)" \$(CC) -pipe -Wl,--rpath -Wl,$config{LIBRARY_DIR} -shared -o libIRCDmode.so mode.o modes/modeclasses.a libIRCDxline.so: xline.cpp ../include/base.h ../include/xline.h ../include/inspircd.h ../include/channels.h ../include/users.h ../include/globals.h ../include/inspircd_config.h -- cgit v1.2.3