PKGBUILDs/community/nodejs/nodejs-armv5t.patch

31 lines
990 B
Diff
Raw Normal View History

2012-01-27 02:19:01 +00:00
--- ../node-v0.6.8/deps/v8/SConstruct.org 2012-01-26 13:57:18.000000000 -0500
+++ ../node-v0.6.8/deps/v8/SConstruct 2012-01-26 15:08:37.000000000 -0500
@@ -79,7 +79,7 @@
},
'gcc': {
'all': {
- 'CCFLAGS': ['$DIALECTFLAGS', '$WARNINGFLAGS'],
+ 'CCFLAGS': ['$DIALECTFLAGS', '$WARNINGFLAGS', '-march=armv5t'],
'CXXFLAGS': ['-fno-rtti', '-fno-exceptions'],
},
'visibility:hidden': {
@@ -154,12 +154,12 @@
},
'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'],