hpux: move -Wl,+vnocompatwarnings to STD_CWARNINGS; add +vnocompatwarnings to SO_LDFLAGS

(cherry picked from commit ac49f1c511)
This commit is contained in:
Mark Andrews
2014-02-11 13:22:27 +11:00
parent bfaf11e57f
commit 6144ceaf99
2 changed files with 6 additions and 6 deletions

6
configure vendored
View File

@@ -15213,7 +15213,7 @@ $as_echo "no" >&6; }
fi
case "$host" in
*-hp-hpux*)
CFLAGS="-Wl,+vnocompatwarnings $CFLAGS"
STD_CWARNINGS="$STD_CWARNINGS -Wl,+vnocompatwarnings"
;;
esac
else
@@ -15241,7 +15241,7 @@ else
esac
CCOPT="$CCOPT -Ae -z"
CCNOOPT="$CCNOOPT -Ae -z"
CFLAGS="-Wl,+vnocompatwarnings $CFLAGS"
STD_CWARNINGS="$STD_CWARNINGS -Wl,+vnocompatwarnings"
MKDEPPROG='cc -Ae -E -Wp,-M >/dev/null 2>>$TMP'
;;
*-sgi-irix*)
@@ -19009,7 +19009,7 @@ if test "$dlopen" = "yes"; then
*-hp-hpux*)
SO=sl
SO_CFLAGS="+z"
SO_LDFLAGS="-b"
SO_LDFLAGS="-b +vnocompatwarnings"
SO_LD="ld"
;;
*)

View File

@@ -1399,7 +1399,7 @@ if test "X$GCC" = "Xyes"; then
fi
case "$host" in
*-hp-hpux*)
CFLAGS="-Wl,+vnocompatwarnings $CFLAGS"
STD_CWARNINGS="$STD_CWARNINGS -Wl,+vnocompatwarnings"
;;
esac
else
@@ -1427,7 +1427,7 @@ else
esac
CCOPT="$CCOPT -Ae -z"
CCNOOPT="$CCNOOPT -Ae -z"
CFLAGS="-Wl,+vnocompatwarnings $CFLAGS"
STD_CWARNINGS="$STD_CWARNINGS -Wl,+vnocompatwarnings"
MKDEPPROG='cc -Ae -E -Wp,-M >/dev/null 2>>$TMP'
;;
*-sgi-irix*)
@@ -3394,7 +3394,7 @@ if test "$dlopen" = "yes"; then
*-hp-hpux*)
SO=sl
SO_CFLAGS="+z"
SO_LDFLAGS="-b"
SO_LDFLAGS="-b +vnocompatwarnings"
SO_LD="ld"
;;
*)