TEST_LIBS:=-L${cppunit}/lib -lcppunit
TEST_INC:=-I${cppunit}/include
-COMPILE:=libtool --mode=compile ${CC} ${CFLAGS}
+COMPILE:=libtool --mode=compile ${CC}
LINK:=libtool --mode=link ${CC} -rpath ${stagedir}/lib ${LDFLAGS}
LINKXX:=libtool --mode=link ${CXX} -rpath ${stagedir}/lib ${LDFLAGS}
INSTALL:=libtool --mode=install install
%.o: %.c
- ${COMPILE} ${GLOBUSINC} -c $<
+ ${COMPILE} ${GLOBUSINC} ${CFLAGS} -c $<
test_gss.o: %.o: %.cpp
${CXX} -c ${CFLAGS} ${GLOBUSINC} ${TEST_INC} $<
${CXX} -c ${CFLAGS} ${TEST_INC} $<
%.thr.o: %.c
- ${COMPILE} ${GLOBUSTHRINC} -o $@ -c $<
+ ${COMPILE} ${GLOBUSTHRINC} ${CFLAGS} -o $@ -c $<
%.h: %.h.T
rm -f $@