Skip to content

Commit 4e67234

Browse files
committed
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
1 parent e03c010 commit 4e67234

File tree

4 files changed

+36
-0
lines changed

4 files changed

+36
-0
lines changed

src/cmd/INIT/cc.sol11.i386

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
: solaris.i386 cc wrapper for reasonable ansi C defaults and 32 bit : 2012-05-18 :
2+
3+
HOSTTYPE=sol11.i386
4+
5+
case " $* " in
6+
*" -dumpmachine "*) echo $HOSTTYPE; exit ;;
7+
esac
8+
9+
$CC_EXPLICIT -m32 -xc99 -D_XPG6 "$@"

src/cmd/INIT/cc.sol11.i386-64

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
: solaris.i386-64 cc wrapper for reasonable ansi C defaults and 64 bit : 2012-05-18 :
2+
3+
HOSTTYPE=sol11.i386-64
4+
5+
case " $* " in
6+
*" -dumpmachine "*) echo $HOSTTYPE; exit ;;
7+
esac
8+
9+
$CC_EXPLICIT -m64 -xc99 -D_XPG6 "$@"

src/cmd/INIT/cc.sol11.sparc

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
: solaris.sparc cc wrapper for reasonable ansi C defaults and 32 bit : 2012-05-18 :
2+
3+
HOSTTYPE=sol11.sparc
4+
5+
case " $* " in
6+
*" -dumpmachine "*) echo $HOSTTYPE; exit ;;
7+
esac
8+
9+
$CC_EXPLICIT -m32 -xc99 -D_XPG6 "$@"

src/cmd/INIT/cc.sol11.sparc-64

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
: solaris.sparc-64 cc wrapper for reasonable ansi C defaults and 64 bit : 2012-05-18 :
2+
3+
HOSTTYPE=sol11.sparc-64
4+
5+
case " $* " in
6+
*" -dumpmachine "*) echo $HOSTTYPE; exit ;;
7+
esac
8+
9+
$CC_EXPLICIT -m64 -xc99 -D_XPG6 "$@"

0 commit comments

Comments
 (0)