-
Notifications
You must be signed in to change notification settings - Fork 65
/
Copy path005-compiler.patch
54 lines (54 loc) · 2.19 KB
/
005-compiler.patch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
# This patch has been developed inhouse. This is needed for some Solaris specific build
# tasks and has not been submitted to the community.
diff -rupN INIT.2011-02-08/src/cmd/INIT/cc.sol11.i386-64 INIT.2011-02-08.patched/src/cmd/INIT/cc.sol11.i386-64
diff -rupN INIT.2011-02-08/src/cmd/INIT/cc.sol11.i386-64 INIT.2011-02-08.patched/src/cmd/INIT/cc.sol11.i386-64
--- INIT.2011-02-08/src/cmd/INIT/cc.sol11.i386-64 1970-01-01 01:00:00.000000000 +0100
+++ INIT.2011-02-08.patched/src/cmd/INIT/cc.sol11.i386-64 2012-05-18 10:49:31.008310676 +0100
@@ -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 "$@"
--- INIT.2011-02-08/src/cmd/INIT/cc.sol11.i386 1970-01-01 01:00:00.000000000 +0100
+++ INIT.2011-02-08.patched/src/cmd/INIT/cc.sol11.i386 2012-05-18 10:49:31.008310676 +0100
@@ -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 "$@"
diff -rupN INIT.2011-02-08/src/cmd/INIT/cc.sol11.sparc-64 INIT.2011-02-08.patched/src/cmd/INIT/cc.sol11.sparc-64
--- INIT.2011-02-08/src/cmd/INIT/cc.sol11.sparc-64 1970-01-01 01:00:00.000000000 +0100
+++ INIT.2011-02-08.patched/src/cmd/INIT/cc.sol11.sparc-64 2012-05-18 10:49:20.339537677 +0100
@@ -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 "$@"
diff -rupN INIT.2011-02-08/src/cmd/INIT/cc.sol11.sparc INIT.2011-02-08.patched/src/cmd/INIT/cc.sol11.sparc-64
--- INIT.2011-02-08/src/cmd/INIT/cc.sol11.sparc 1970-01-01 01:00:00.000000000 +0100
+++ INIT.2011-02-08.patched/src/cmd/INIT/cc.sol11.sparc 2012-05-18 10:49:20.339537677 +0100
@@ -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 "$@"