/
v0.8.2-release-raspberrypi.patch
63 lines (60 loc) · 1.85 KB
/
v0.8.2-release-raspberrypi.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
55
56
57
58
59
60
61
62
From 6a71e141d22e27d061a6698977c6fe4968a25b46 Mon Sep 17 00:00:00 2001
From: Geoff Flarity <geoff.flarity@gmail.com>
Date: Tue, 10 Jul 2012 23:48:18 +0000
Subject: [PATCH] changes for Raspberry pi
---
deps/v8/SConstruct | 30 +++++++++++++++---------------
1 file changed, 15 insertions(+), 15 deletions(-)
diff --git a/deps/v8/SConstruct b/deps/v8/SConstruct
index ebce7ff..103e851 100644
--- a/deps/v8/SConstruct
+++ b/deps/v8/SConstruct
@@ -80,8 +80,8 @@ LIBRARY_FLAGS = {
},
'gcc': {
'all': {
- 'CCFLAGS': ['$DIALECTFLAGS', '$WARNINGFLAGS'],
- 'CXXFLAGS': ['-fno-rtti', '-fno-exceptions'],
+ 'CCFLAGS': ['$DIALECTFLAGS', '$WARNINGFLAGS', '-march=armv6'],
+ 'CXXFLAGS': ['-fno-rtti', '-fno-exceptions', '-march=armv6'],
},
'visibility:hidden': {
# Use visibility=default to disable this.
@@ -159,22 +159,22 @@ LIBRARY_FLAGS = {
},
'armeabi:softfp' : {
'CPPDEFINES' : ['USE_EABI_HARDFLOAT=0'],
- 'vfp3:on': {
- 'CPPDEFINES' : ['CAN_USE_VFP_INSTRUCTIONS']
- },
- 'simulator:none': {
- 'CCFLAGS': ['-mfloat-abi=softfp'],
- }
+# 'vfp3:on': {
+# 'CPPDEFINES' : ['CAN_USE_VFP_INSTRUCTIONS']
+# },
+# 'simulator:none': {
+# 'CCFLAGS': ['-mfloat-abi=softfp'],
+# }
},
'armeabi:hard' : {
'CPPDEFINES' : ['USE_EABI_HARDFLOAT=1'],
- 'vfp3:on': {
- 'CPPDEFINES' : ['CAN_USE_VFP_INSTRUCTIONS']
- },
- 'simulator:none': {
- 'CCFLAGS': ['-mfloat-abi=hard'],
- }
- }
+# 'vfp3:on': {
+# 'CPPDEFINES' : ['CAN_USE_VFP_INSTRUCTIONS']
+# },
+# 'simulator:none': {
+# 'CCFLAGS': ['-mfloat-abi=hard'],
+# }
+# }
},
'simulator:arm': {
'CCFLAGS': ['-m32'],
--
1.7.10.4