Skip to content

Instantly share code, notes, and snippets.

@tomgco
Created May 10, 2012 12:33
Show Gist options
  • Save tomgco/2652772 to your computer and use it in GitHub Desktop.
Save tomgco/2652772 to your computer and use it in GitHub Desktop.
Raspberry Pi V8 Patch
@@ -79,8 +79,8 @@
},
'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.
@@ -153,13 +153,13 @@
}
},
'armeabi:softfp' : {
- 'CPPDEFINES' : ['USE_EABI_HARDFLOAT=0'],
- 'vfp3:on': {
- 'CPPDEFINES' : ['CAN_USE_VFP_INSTRUCTIONS']
- },
- 'simulator:none': {
- 'CCFLAGS': ['-mfloat-abi=softfp'],
- }
+ 'CPPDEFINES' : ['USE_EABI_HARDFLOAT=0']
+ # 'vfp3:on': {
+ # 'CPPDEFINES' : ['CAN_USE_VFP_INSTRUCTIONS']
+ # },
+ # 'simulator:none': {
+ # 'CCFLAGS': ['-mfloat-abi=softfp'],
+ # }
},
'armeabi:hard' : {
'CPPDEFINES' : ['USE_EABI_HARDFLOAT=1'],
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment