Created
May 10, 2012 12:33
-
-
Save tomgco/2652772 to your computer and use it in GitHub Desktop.
Raspberry Pi V8 Patch
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@ -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