diff options
author | Cheng Shao <terrorjack@type.dance> | 2023-04-05 03:13:27 +0000 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2023-04-24 12:19:44 -0400 |
commit | 87095f6a283d95016f66f4a14a3da923c394877c (patch) | |
tree | 3399b7d8655be5cc5fa443d4f6f5317a7532a42d /configure.ac | |
parent | 787c6e8c5b96c95ead6cc7c213d12c5983975084 (diff) | |
download | haskell-87095f6a283d95016f66f4a14a3da923c394877c.tar.gz |
rts: always build 64-bit atomic ops
This patch does a few things:
- Always build 64-bit atomic ops in rts/ghc-prim, even on 32-bit
platforms
- Remove legacy "64bit" cabal flag of rts package
- Fix hs_xchg64 function prototype for 32-bit platforms
- Fix AtomicFetch test for wasm32
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/configure.ac b/configure.ac index 0b3997f4e6..49b1e9683c 100644 --- a/configure.ac +++ b/configure.ac @@ -904,11 +904,6 @@ FP_CHECK_SIZEOF_AND_ALIGNMENT(uint64_t) dnl for use in settings file TargetWordSize=$ac_cv_sizeof_void_p -if test "x$TargetWordSize" = x8; then - AC_SUBST([Cabal64bit],[True]) -else - AC_SUBST([Cabal64bit],[False]) -fi AC_SUBST(TargetWordSize) AC_C_BIGENDIAN([TargetWordBigEndian=YES],[TargetWordBigEndian=NO]) |