]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
hpux: move -Wl,+vnocompatwarnings to STD_CWARNINGS; add +vnocompatwarnings to SO_LDFLAGS
authorMark Andrews <marka@isc.org>
Tue, 11 Feb 2014 02:22:27 +0000 (13:22 +1100)
committerMark Andrews <marka@isc.org>
Tue, 11 Feb 2014 02:22:27 +0000 (13:22 +1100)
configure
configure.in

index af62e80aabcc9be099e514ee8e1d2284972d1261..18ddc8f140acfffefba128c4cec0f1577b521817 100755 (executable)
--- a/configure
+++ b/configure
@@ -16138,7 +16138,7 @@ $as_echo "no" >&6; }
        fi
        case "$host" in
        *-hp-hpux*)
-               CFLAGS="-Wl,+vnocompatwarnings $CFLAGS"
+               STD_CWARNINGS="$STD_CWARNINGS -Wl,+vnocompatwarnings"
                ;;
        esac
 else
@@ -16166,7 +16166,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*)
@@ -19941,7 +19941,7 @@ if test "$dlopen" = "yes"; then
                *-hp-hpux*)
                        SO=sl
                        SO_CFLAGS="+z"
-                       SO_LDFLAGS="-b"
+                       SO_LDFLAGS="-b +vnocompatwarnings"
                        SO_LD="ld"
                        ;;
                *)
index 884a6fff7fef5790946847c7dec9463e7d59a328..20cca2f1e16a94f3e796b342e4cc2f19fc09c585 100644 (file)
@@ -1816,7 +1816,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
@@ -1844,7 +1844,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*)
@@ -3802,7 +3802,7 @@ if test "$dlopen" = "yes"; then
                *-hp-hpux*)
                        SO=sl
                        SO_CFLAGS="+z"
-                       SO_LDFLAGS="-b"
+                       SO_LDFLAGS="-b +vnocompatwarnings"
                        SO_LD="ld"
                        ;;
                *)