From: Mark Andrews Date: Mon, 10 Feb 2014 06:53:39 +0000 (+1100) Subject: -Wl,+vnocompatwarnings is a compiler flag to pass to the loader not a direct loader... X-Git-Tag: v9.10.0b1~135 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=343556ecf9f06f1545f1063b305375a5cbeb4e40;p=thirdparty%2Fbind9.git -Wl,+vnocompatwarnings is a compiler flag to pass to the loader not a direct loader flag --- diff --git a/configure b/configure index e3d9f824bef..af62e80aabc 100755 --- a/configure +++ b/configure @@ -16138,7 +16138,7 @@ $as_echo "no" >&6; } fi case "$host" in *-hp-hpux*) - LDFLAGS="-Wl,+vnocompatwarnings $LDFLAGS" + CFLAGS="-Wl,+vnocompatwarnings $CFLAGS" ;; esac else @@ -16166,7 +16166,7 @@ else esac CCOPT="$CCOPT -Ae -z" CCNOOPT="$CCNOOPT -Ae -z" - LDFLAGS="-Wl,+vnocompatwarnings $LDFLAGS" + CFLAGS="-Wl,+vnocompatwarnings $CFLAGS" MKDEPPROG='cc -Ae -E -Wp,-M >/dev/null 2>>$TMP' ;; *-sgi-irix*) diff --git a/configure.in b/configure.in index b5b4777b184..884a6fff7fe 100644 --- a/configure.in +++ b/configure.in @@ -1816,7 +1816,7 @@ if test "X$GCC" = "Xyes"; then fi case "$host" in *-hp-hpux*) - LDFLAGS="-Wl,+vnocompatwarnings $LDFLAGS" + CFLAGS="-Wl,+vnocompatwarnings $CFLAGS" ;; esac else @@ -1844,7 +1844,7 @@ else esac CCOPT="$CCOPT -Ae -z" CCNOOPT="$CCNOOPT -Ae -z" - LDFLAGS="-Wl,+vnocompatwarnings $LDFLAGS" + CFLAGS="-Wl,+vnocompatwarnings $CFLAGS" MKDEPPROG='cc -Ae -E -Wp,-M >/dev/null 2>>$TMP' ;; *-sgi-irix*)