Commit ac49f1c5 authored by Mark Andrews's avatar Mark Andrews

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

parent 6874b16e
...@@ -16138,7 +16138,7 @@ $as_echo "no" >&6; } ...@@ -16138,7 +16138,7 @@ $as_echo "no" >&6; }
fi fi
case "$host" in case "$host" in
*-hp-hpux*) *-hp-hpux*)
CFLAGS="-Wl,+vnocompatwarnings $CFLAGS" STD_CWARNINGS="$STD_CWARNINGS -Wl,+vnocompatwarnings"
;; ;;
esac esac
else else
...@@ -16166,7 +16166,7 @@ else ...@@ -16166,7 +16166,7 @@ else
esac esac
CCOPT="$CCOPT -Ae -z" CCOPT="$CCOPT -Ae -z"
CCNOOPT="$CCNOOPT -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' MKDEPPROG='cc -Ae -E -Wp,-M >/dev/null 2>>$TMP'
;; ;;
*-sgi-irix*) *-sgi-irix*)
...@@ -19941,7 +19941,7 @@ if test "$dlopen" = "yes"; then ...@@ -19941,7 +19941,7 @@ if test "$dlopen" = "yes"; then
*-hp-hpux*) *-hp-hpux*)
SO=sl SO=sl
SO_CFLAGS="+z" SO_CFLAGS="+z"
SO_LDFLAGS="-b" SO_LDFLAGS="-b +vnocompatwarnings"
SO_LD="ld" SO_LD="ld"
;; ;;
*) *)
......
...@@ -1816,7 +1816,7 @@ if test "X$GCC" = "Xyes"; then ...@@ -1816,7 +1816,7 @@ if test "X$GCC" = "Xyes"; then
fi fi
case "$host" in case "$host" in
*-hp-hpux*) *-hp-hpux*)
CFLAGS="-Wl,+vnocompatwarnings $CFLAGS" STD_CWARNINGS="$STD_CWARNINGS -Wl,+vnocompatwarnings"
;; ;;
esac esac
else else
...@@ -1844,7 +1844,7 @@ else ...@@ -1844,7 +1844,7 @@ else
esac esac
CCOPT="$CCOPT -Ae -z" CCOPT="$CCOPT -Ae -z"
CCNOOPT="$CCNOOPT -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' MKDEPPROG='cc -Ae -E -Wp,-M >/dev/null 2>>$TMP'
;; ;;
*-sgi-irix*) *-sgi-irix*)
...@@ -3802,7 +3802,7 @@ if test "$dlopen" = "yes"; then ...@@ -3802,7 +3802,7 @@ if test "$dlopen" = "yes"; then
*-hp-hpux*) *-hp-hpux*)
SO=sl SO=sl
SO_CFLAGS="+z" SO_CFLAGS="+z"
SO_LDFLAGS="-b" SO_LDFLAGS="-b +vnocompatwarnings"
SO_LD="ld" SO_LD="ld"
;; ;;
*) *)
......
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