2
0
mirror of https://github.com/sudo-project/sudo.git synced 2025-08-31 14:25:15 +00:00

Use the HP ANSI C compiler on HP-UX if possible

This commit is contained in:
Todd C. Miller
2010-07-27 14:26:59 -04:00
parent 5d06ad3b6b
commit 01e547bd1e

13
mkpkg
View File

@@ -65,6 +65,19 @@ case "$platform" in
;;
esac
# Choose compiler options by platform.
case "$platform" 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
;;
esac
# Choose configure options by platform.
# We use the same configure options as vendor packages when possible.
case "$platform" in