2021-01-18 01:07:45 +00:00
|
|
|
: solaris.i386 cc wrapper for reasonable ansi C defaults and 32 bit : 2021-01-17 :
|
2021-01-09 01:03:08 +00:00
|
|
|
|
|
|
|
HOSTTYPE=sol11.i386
|
|
|
|
|
|
|
|
case " $* " in
|
|
|
|
*" -dumpmachine "*) echo $HOSTTYPE; exit ;;
|
|
|
|
esac
|
|
|
|
|
2021-01-16 17:10:39 +00:00
|
|
|
# Solaris build scripts set $CC_EXPLICIT. If not set, function without it.
|
|
|
|
case ${CC_EXPLICIT:=$CC} in
|
|
|
|
'' | cc)
|
|
|
|
PATH=`/usr/bin/getconf PATH` # avoid infinite recursion executing 'cc'
|
|
|
|
CC_EXPLICIT=cc
|
|
|
|
esac
|
|
|
|
|
2021-01-18 01:07:45 +00:00
|
|
|
# Note: the _XPG6 macro is now defined in src/lib/libast/features/common
|
|
|
|
|
|
|
|
$CC_EXPLICIT -m32 -xc99 "$@"
|