Skip to content

Commit d6ad31d

Browse files
committed
Better fix?
1 parent 689d5bc commit d6ad31d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

compiler/ghc/default.nix

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -348,9 +348,9 @@ let
348348
+ lib.optionalString (stdenv.targetPlatform.isDarwin && stdenv.targetPlatform.isAarch64)
349349
" '*.*.ghc.c.opts += -optc-mcpu=apple-a7 -optc-march=armv8-a+norcpc'"
350350
+ 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'"
352352
+ lib.optionalString (targetPlatform.isAndroid && targetPlatform.isAarch64)
353-
" '*.*.ghc.c.opts += -optc-march=armv8-a'"
353+
" 'stage1.*.ghc.c.opts += -optc-march=armv8-a'"
354354
# For GHC versions in the 9.x range that don't support the +native_bignum flavour transformer yet
355355
+ lib.optionalString ((enableNativeBignum && !hadrianHasNativeBignumFlavour))
356356
" --bignum=native"

0 commit comments

Comments
 (0)