From: Todd C. Miller Date: Wed, 9 Jul 2014 20:00:08 +0000 (-0600) Subject: Don't use the HP compiler in preference to gcc. Some versions have X-Git-Tag: SUDO_1_8_11^2~140 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=bd0787b680181eb8d47c1521dc8063c429e063af;p=sudo Don't use the HP compiler in preference to gcc. Some versions have trouble compiling lbuf.c. --- diff --git a/mkpkg b/mkpkg index 703f61449..51d193abf 100755 --- 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