File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change 11[ {
2+ package-keys = [ "HsOpenSSL" "libsodium" "double-conversion" ] ;
23 # See https://github.com/haskell-cryptography/HsOpenSSL/issues/95
34 packages . HsOpenSSL . ghcOptions = [ "-optc=-Wno-incompatible-pointer-types" ] ;
45}
78 packages . libsodium . configureFlags = [ "--c2hs-option=--cppopts=-D_Null_unspecified=" ] ;
89 packages . libsodium . components . library . hardeningDisable = [ "fortify" ] ;
910} )
11+
12+ ( { pkgs , lib , ...} : lib . mkIf pkgs . stdenv . hostPlatform . isStatic {
13+ packages . double-conversion . ghcOptions = [
14+ # stop putting U __gxx_personality_v0 into the library!
15+ "-optcxx-fno-rtti"
16+ "-optcxx-fno-exceptions"
17+ # stop putting U __cxa_guard_release into the library!
18+ "-optcxx-std=gnu++98"
19+ "-optcxx-fno-threadsafe-statics"
20+ ] ;
21+ } )
1022]
You can’t perform that action at this time.
0 commit comments