include ${CFLAGS} on linker command line so that

"configure CFLAGS=-pg && make" does the right thing
This commit is contained in:
Andreas Gustafsson
2000-02-14 18:46:16 +00:00
parent 31e471c6f1
commit 3fe86e8ae7
3 changed files with 3 additions and 3 deletions

View File

@@ -45,7 +45,7 @@ SRCS = main.c client.c err_pkt.c \
@BIND9_MAKE_RULES@
lwresd: ${OBJS} ${UOBJS} ${DEPLIBS}
${LIBTOOL} ${CC} -o $@ ${OBJS} ${UOBJS} ${LIBS}
${LIBTOOL} ${CC} ${CFLAGS} -o $@ ${OBJS} ${UOBJS} ${LIBS}
clean distclean::
rm -f ${TARGETS}

View File

@@ -56,7 +56,7 @@ main.@O@: main.c
-DNS_SYSCONFDIR=\"${sysconfdir}\" -c ${srcdir}/main.c
named: ${OBJS} ${UOBJS} ${DEPLIBS}
${LIBTOOL} ${CC} -o $@ ${OBJS} ${UOBJS} ${LIBS}
${LIBTOOL} ${CC} ${CFLAGS} -o $@ ${OBJS} ${UOBJS} ${LIBS}
clean distclean::
rm -f ${TARGETS}

View File

@@ -42,7 +42,7 @@ SRCS = rndc.c
@BIND9_MAKE_RULES@
rndc: ${OBJS} ${DEPLIBS}
${LIBTOOL} ${CC} -o $@ ${OBJS} ${LIBS}
${LIBTOOL} ${CC} ${CFLAGS} -o $@ ${OBJS} ${LIBS}
clean distclean::
rm -f ${TARGETS}