File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 348
348
+ lib . optionalString ( stdenv . targetPlatform . isDarwin && stdenv . targetPlatform . isAarch64 )
349
349
" '*.*.ghc.c.opts += -optc-mcpu=apple-a7 -optc-march=armv8-a+norcpc'"
350
350
+ lib . optionalString ( targetPlatform . isAndroid && targetPlatform . isAarch32 )
351
- " '* .*.ghc.c.opts += -optc-march=armv7-a -optc-mfloat-abi=softfp -optc-mfpu=vfpv3-d16'"
351
+ " 'stage1 .*.ghc.c.opts += -optc-march=armv7-a -optc-mfloat-abi=softfp -optc-mfpu=vfpv3-d16'"
352
352
+ lib . optionalString ( targetPlatform . isAndroid && targetPlatform . isAarch64 )
353
- " '* .*.ghc.c.opts += -optc-march=armv8-a'"
353
+ " 'stage1 .*.ghc.c.opts += -optc-march=armv8-a'"
354
354
# For GHC versions in the 9.x range that don't support the +native_bignum flavour transformer yet
355
355
+ lib . optionalString ( ( enableNativeBignum && ! hadrianHasNativeBignumFlavour ) )
356
356
" --bignum=native"
You can’t perform that action at this time.
0 commit comments