mirror of
https://github.com/sudo-project/sudo.git
synced 2025-09-03 15:55:40 +00:00
Use the HP ANSI C compiler on HP-UX if possible
This commit is contained in:
13
mkpkg
13
mkpkg
@@ -65,6 +65,19 @@ case "$platform" in
|
|||||||
;;
|
;;
|
||||||
esac
|
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.
|
# Choose configure options by platform.
|
||||||
# We use the same configure options as vendor packages when possible.
|
# We use the same configure options as vendor packages when possible.
|
||||||
case "$platform" in
|
case "$platform" in
|
||||||
|
Reference in New Issue
Block a user