]> granicus.if.org Git - sudo/commitdiff
Don't use the HP compiler in preference to gcc. Some versions have
authorTodd C. Miller <Todd.Miller@courtesan.com>
Wed, 9 Jul 2014 20:00:08 +0000 (14:00 -0600)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Wed, 9 Jul 2014 20:00:08 +0000 (14:00 -0600)
trouble compiling lbuf.c.

mkpkg

diff --git a/mkpkg b/mkpkg
index 703f61449557608604f0a7ac694718accdeaa895..51d193abfb56f20640202dde738b1357e424ad28 100755 (executable)
--- a/mkpkg
+++ b/mkpkg
@@ -95,15 +95,6 @@ osrelease=`echo "$osversion" | sed -e 's/^[^0-9]*//' -e 's/-.*$//'`
 # Choose compiler options by osversion if not cross-compiling.
 if [ "$crossbuild" = "false" ]; then
     case "$osversion" in
-       hpux*)
-           # Use the HP ANSI C compiler on HP-UX if possible
-           if [ -z "$CC" -a -x /opt/ansic/bin/cc ]; then
-               CC=/opt/ansic/bin/cc; export CC
-               if [ -z "$CFLAGS" ]; then
-                   CFLAGS=-O; export CFLAGS
-               fi
-           fi
-           ;;
        sol[0-9]*)
            # Use the Sun Studio C compiler on Solaris if possible
            if [ -z "$CC" -a -x /usr/bin/cc ]; then