Files
simplex-chat/scripts/nix/bitvec-darwin-compiler-rt.patch
T

27 lines
725 B
Diff

--- a/bitvec.cabal
+++ b/bitvec.cabal
@@ -1,9 +1,9 @@
+cabal-version: 3.8
name: bitvec
version: 1.1.6.0
-cabal-version: 2.0
build-type: Simple
-license: BSD3
+license: BSD-3-Clause
license-file: LICENSE
copyright: 2019-2022 Andrew Lelechenko, 2012-2016 James Cook
maintainer: Andrew Lelechenko <andrew.lelechenko@gmail.com>
homepage: https://github.com/Bodigrim/bitvec
@@ -96,8 +96,11 @@
if flag(simd) && !arch(javascript) && !arch(wasm32)
c-sources: cbits/bitvec_simd.c
cc-options: -fopenmp-simd
cpp-options: -DUseSIMD
+ if os(osx) && arch(x86_64)
+ extra-libraries: clang_rt.osx
+ extra-libraries-static: clang_rt.osx
other-modules:
Data.Bit.SIMD
test-suite bitvec-tests