mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-09 11:32:05 -04:00
include ${CFLAGS} on linker command line so that
"configure CFLAGS=-pg && make" does the right thing
This commit is contained in:
parent
31e471c6f1
commit
3fe86e8ae7
3 changed files with 3 additions and 3 deletions
|
|
@ -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}
|
||||
|
|
|
|||
|
|
@ -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}
|
||||
|
|
|
|||
|
|
@ -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}
|
||||
|
|
|
|||
Loading…
Reference in a new issue