Commit 6b66ee91 authored by Mark Andrews's avatar Mark Andrews

define and use BACKTRACECFLAGS

parent ac49f1c5
......@@ -26,6 +26,7 @@ CINCLUDES = ${DNS_INCLUDES} ${ISC_INCLUDES} ${ISCCFG_INCLUDES} \
CDEFINES =
CWARNINGS =
BACKTRACECFLAGS = @BACKTRACECFLAGS@
DNSLIBS = ../../lib/dns/libdns.@A@ @DNS_CRYPTO_LIBS@
ISCLIBS = ../../lib/isc/libisc.@A@ @DNS_CRYPTO_LIBS@
......@@ -138,8 +139,8 @@ XSRCS = adb_test.c \
@BIND9_MAKE_RULES@
# disable optimization for backtrace test to get the expected result
BTTEST_CFLAGS = ${EXT_CFLAGS} ${ALL_CPPFLAGS} -g ${ALWAYS_WARNINGS} \
${STD_CWARNINGS} ${CWARNINGS}
BTTEST_CFLAGS = ${BACKTRACECFLAGS} ${EXT_CFLAGS} ${ALL_CPPFLAGS} -g \
${ALWAYS_WARNINGS} ${STD_CWARNINGS} ${CWARNINGS}
all_tests: ${XTARGETS}
......
......@@ -851,6 +851,7 @@ PERL
ETAGS
LN
ARFLAGS
BACKTRACECFLAGS
CCNOOPT
CCOPT
STD_CWARNINGS
......@@ -11344,6 +11345,7 @@ fi
# Warn if the user specified libbind, which is now deprecated
# Check whether --enable-libbind was given.
if test "${enable_libbind+set}" = set; then :
......@@ -16138,7 +16140,8 @@ $as_echo "no" >&6; }
fi
case "$host" in
*-hp-hpux*)
STD_CWARNINGS="$STD_CWARNINGS -Wl,+vnocompatwarnings"
CFLAGS="$CFLAGS -Wl,+vnocompatwarnings"
BACKTRACECFLAGS="$BACKTRACECFLAGS -Wl,+vnocompatwarnings"
;;
esac
else
......@@ -16166,7 +16169,8 @@ else
esac
CCOPT="$CCOPT -Ae -z"
CCNOOPT="$CCNOOPT -Ae -z"
STD_CWARNINGS="$STD_CWARNINGS -Wl,+vnocompatwarnings"
CFLAGS="$CFLAGS -Wl,+vnocompatwarnings"
BACKTRACECFLAGS="$BACKTRACECFLAGS -Wl,+vnocompatwarnings"
MKDEPPROG='cc -Ae -E -Wp,-M >/dev/null 2>>$TMP'
;;
*-sgi-irix*)
......
......@@ -51,6 +51,7 @@ AC_SUBST(STD_CDEFINES)
AC_SUBST(STD_CWARNINGS)
AC_SUBST(CCOPT)
AC_SUBST(CCNOOPT)
AC_SUBST(BACKTRACECFLAGS)
# Warn if the user specified libbind, which is now deprecated
AC_ARG_ENABLE(libbind, [ --enable-libbind deprecated])
......@@ -1816,7 +1817,8 @@ if test "X$GCC" = "Xyes"; then
fi
case "$host" in
*-hp-hpux*)
STD_CWARNINGS="$STD_CWARNINGS -Wl,+vnocompatwarnings"
CFLAGS="$CFLAGS -Wl,+vnocompatwarnings"
BACKTRACECFLAGS="$BACKTRACECFLAGS -Wl,+vnocompatwarnings"
;;
esac
else
......@@ -1844,7 +1846,8 @@ else
esac
CCOPT="$CCOPT -Ae -z"
CCNOOPT="$CCNOOPT -Ae -z"
STD_CWARNINGS="$STD_CWARNINGS -Wl,+vnocompatwarnings"
CFLAGS="$CFLAGS -Wl,+vnocompatwarnings"
BACKTRACECFLAGS="$BACKTRACECFLAGS -Wl,+vnocompatwarnings"
MKDEPPROG='cc -Ae -E -Wp,-M >/dev/null 2>>$TMP'
;;
*-sgi-irix*)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment