Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
ISC Open Source Projects
BIND
Commits
6b66ee91
Commit
6b66ee91
authored
Feb 12, 2014
by
Mark Andrews
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
define and use BACKTRACECFLAGS
parent
ac49f1c5
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
6 deletions
+14
-6
bin/tests/Makefile.in
bin/tests/Makefile.in
+3
-2
configure
configure
+6
-2
configure.in
configure.in
+5
-2
No files found.
bin/tests/Makefile.in
View file @
6b66ee91
...
@@ -26,6 +26,7 @@ CINCLUDES = ${DNS_INCLUDES} ${ISC_INCLUDES} ${ISCCFG_INCLUDES} \
...
@@ -26,6 +26,7 @@ CINCLUDES = ${DNS_INCLUDES} ${ISC_INCLUDES} ${ISCCFG_INCLUDES} \
CDEFINES
=
CDEFINES
=
CWARNINGS
=
CWARNINGS
=
BACKTRACECFLAGS
=
@BACKTRACECFLAGS@
DNSLIBS
=
../../lib/dns/libdns.@A@ @DNS_CRYPTO_LIBS@
DNSLIBS
=
../../lib/dns/libdns.@A@ @DNS_CRYPTO_LIBS@
ISCLIBS
=
../../lib/isc/libisc.@A@ @DNS_CRYPTO_LIBS@
ISCLIBS
=
../../lib/isc/libisc.@A@ @DNS_CRYPTO_LIBS@
...
@@ -138,8 +139,8 @@ XSRCS = adb_test.c \
...
@@ -138,8 +139,8 @@ XSRCS = adb_test.c \
@BIND9_MAKE_RULES@
@BIND9_MAKE_RULES@
# disable optimization for backtrace test to get the expected result
# disable optimization for backtrace test to get the expected result
BTTEST_CFLAGS
=
${EXT_CFLAGS}
${ALL_CPPFLAGS}
-g
${ALWAYS_WARNINGS}
\
BTTEST_CFLAGS
=
${BACKTRACECFLAGS}
${EXT_CFLAGS}
${ALL_CPPFLAGS}
-g
\
${STD_CWARNINGS}
${CWARNINGS}
${ALWAYS_WARNINGS}
${STD_CWARNINGS}
${CWARNINGS}
all_tests
:
${XTARGETS}
all_tests
:
${XTARGETS}
...
...
configure
View file @
6b66ee91
...
@@ -851,6 +851,7 @@ PERL
...
@@ -851,6 +851,7 @@ PERL
ETAGS
ETAGS
LN
LN
ARFLAGS
ARFLAGS
BACKTRACECFLAGS
CCNOOPT
CCNOOPT
CCOPT
CCOPT
STD_CWARNINGS
STD_CWARNINGS
...
@@ -11344,6 +11345,7 @@ fi
...
@@ -11344,6 +11345,7 @@ fi
# Warn if the user specified libbind, which is now deprecated
# Warn if the user specified libbind, which is now deprecated
# Check whether --enable-libbind was given.
# Check whether --enable-libbind was given.
if test "${enable_libbind+set}" = set; then :
if test "${enable_libbind+set}" = set; then :
...
@@ -16138,7 +16140,8 @@ $as_echo "no" >&6; }
...
@@ -16138,7 +16140,8 @@ $as_echo "no" >&6; }
fi
fi
case "$host" in
case "$host" in
*-hp-hpux*)
*-hp-hpux*)
STD_CWARNINGS="$STD_CWARNINGS -Wl,+vnocompatwarnings"
CFLAGS="$CFLAGS -Wl,+vnocompatwarnings"
BACKTRACECFLAGS="$BACKTRACECFLAGS -Wl,+vnocompatwarnings"
;;
;;
esac
esac
else
else
...
@@ -16166,7 +16169,8 @@ else
...
@@ -16166,7 +16169,8 @@ else
esac
esac
CCOPT="$CCOPT -Ae -z"
CCOPT="$CCOPT -Ae -z"
CCNOOPT="$CCNOOPT -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'
MKDEPPROG='cc -Ae -E -Wp,-M >/dev/null 2>>$TMP'
;;
;;
*-sgi-irix*)
*-sgi-irix*)
...
...
configure.in
View file @
6b66ee91
...
@@ -51,6 +51,7 @@ AC_SUBST(STD_CDEFINES)
...
@@ -51,6 +51,7 @@ AC_SUBST(STD_CDEFINES)
AC_SUBST(STD_CWARNINGS)
AC_SUBST(STD_CWARNINGS)
AC_SUBST(CCOPT)
AC_SUBST(CCOPT)
AC_SUBST(CCNOOPT)
AC_SUBST(CCNOOPT)
AC_SUBST(BACKTRACECFLAGS)
# Warn if the user specified libbind, which is now deprecated
# Warn if the user specified libbind, which is now deprecated
AC_ARG_ENABLE(libbind, [ --enable-libbind deprecated])
AC_ARG_ENABLE(libbind, [ --enable-libbind deprecated])
...
@@ -1816,7 +1817,8 @@ if test "X$GCC" = "Xyes"; then
...
@@ -1816,7 +1817,8 @@ if test "X$GCC" = "Xyes"; then
fi
fi
case "$host" in
case "$host" in
*-hp-hpux*)
*-hp-hpux*)
STD_CWARNINGS="$STD_CWARNINGS -Wl,+vnocompatwarnings"
CFLAGS="$CFLAGS -Wl,+vnocompatwarnings"
BACKTRACECFLAGS="$BACKTRACECFLAGS -Wl,+vnocompatwarnings"
;;
;;
esac
esac
else
else
...
@@ -1844,7 +1846,8 @@ else
...
@@ -1844,7 +1846,8 @@ else
esac
esac
CCOPT="$CCOPT -Ae -z"
CCOPT="$CCOPT -Ae -z"
CCNOOPT="$CCNOOPT -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'
MKDEPPROG='cc -Ae -E -Wp,-M >/dev/null 2>>$TMP'
;;
;;
*-sgi-irix*)
*-sgi-irix*)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment