1
0
Fork 0
mirror of git://git.code.sf.net/p/cdesktopenv/code synced 2025-02-13 19:52:20 +00:00

INIT: Add Solaris 11 compiler wrappers (Solaris patch 005-compiler)

This upstreams a Solaris patch:
https://github.com/oracle/solaris-userland/blob/master/components/ksh93/patches/005-compiler.patch
This commit is contained in:
Martijn Dekker 2021-01-09 01:03:08 +00:00
parent e03c010c4d
commit 4e67234ae8
4 changed files with 36 additions and 0 deletions

9
src/cmd/INIT/cc.sol11.i386 Executable file
View file

@ -0,0 +1,9 @@
: solaris.i386 cc wrapper for reasonable ansi C defaults and 32 bit : 2012-05-18 :
HOSTTYPE=sol11.i386
case " $* " in
*" -dumpmachine "*) echo $HOSTTYPE; exit ;;
esac
$CC_EXPLICIT -m32 -xc99 -D_XPG6 "$@"

9
src/cmd/INIT/cc.sol11.i386-64 Executable file
View file

@ -0,0 +1,9 @@
: solaris.i386-64 cc wrapper for reasonable ansi C defaults and 64 bit : 2012-05-18 :
HOSTTYPE=sol11.i386-64
case " $* " in
*" -dumpmachine "*) echo $HOSTTYPE; exit ;;
esac
$CC_EXPLICIT -m64 -xc99 -D_XPG6 "$@"

9
src/cmd/INIT/cc.sol11.sparc Executable file
View file

@ -0,0 +1,9 @@
: solaris.sparc cc wrapper for reasonable ansi C defaults and 32 bit : 2012-05-18 :
HOSTTYPE=sol11.sparc
case " $* " in
*" -dumpmachine "*) echo $HOSTTYPE; exit ;;
esac
$CC_EXPLICIT -m32 -xc99 -D_XPG6 "$@"

9
src/cmd/INIT/cc.sol11.sparc-64 Executable file
View file

@ -0,0 +1,9 @@
: solaris.sparc-64 cc wrapper for reasonable ansi C defaults and 64 bit : 2012-05-18 :
HOSTTYPE=sol11.sparc-64
case " $* " in
*" -dumpmachine "*) echo $HOSTTYPE; exit ;;
esac
$CC_EXPLICIT -m64 -xc99 -D_XPG6 "$@"