| Index: SConstruct
|
| ===================================================================
|
| --- SConstruct (revision 11074)
|
| +++ SConstruct (working copy)
|
| @@ -218,9 +218,12 @@
|
| 'LINKFLAGS': ['-m32'],
|
| 'mipsabi:softfloat': {
|
| 'CPPDEFINES': ['__mips_soft_float=1'],
|
| + 'fpu:on': {
|
| + 'CPPDEFINES' : ['CAN_USE_FPU_INSTRUCTIONS']
|
| + }
|
| },
|
| 'mipsabi:hardfloat': {
|
| - 'CPPDEFINES': ['__mips_hard_float=1'],
|
| + 'CPPDEFINES': ['__mips_hard_float=1', 'CAN_USE_FPU_INSTRUCTIONS'],
|
| }
|
| },
|
| 'arch:x64': {
|
| @@ -575,7 +578,10 @@
|
| },
|
| 'mipsabi:hardfloat': {
|
| 'CCFLAGS': ['-mhard-float'],
|
| - 'LINKFLAGS': ['-mhard-float']
|
| + 'LINKFLAGS': ['-mhard-float'],
|
| + 'fpu:on': {
|
| + 'CPPDEFINES' : ['CAN_USE_FPU_INSTRUCTIONS']
|
| + }
|
| }
|
| }
|
| },
|
| @@ -1146,6 +1152,11 @@
|
| 'default': 'on',
|
| 'help': 'use vfp3 instructions when building the snapshot [Arm only]'
|
| },
|
| + 'fpu': {
|
| + 'values': ['on', 'off'],
|
| + 'default': 'on',
|
| + 'help': 'use fpu instructions when building the snapshot [MIPS only]'
|
| + },
|
|
|
| }
|
|
|
|
|