···4545 "-DCOMPILER_RT_BUILD_SANITIZERS=OFF"
4646 "-DCOMPILER_RT_BUILD_XRAY=OFF"
4747 "-DCOMPILER_RT_BUILD_LIBFUZZER=OFF"
4848- "-DCOMPILER_RT_BUILD_PROFILE=OFF"
4948 "-DCOMPILER_RT_BUILD_MEMPROF=OFF"
5049 "-DCOMPILER_RT_BUILD_ORC=OFF" # may be possible to build with musl if necessary
5150 ] ++ lib.optionals (useLLVM || bareMetal) [
-4
pkgs/development/libraries/StormLib/default.nix
···1111 sha256 = "1rcdl6ryrr8fss5z5qlpl4prrw8xpbcdgajg2hpp0i7fpk21ymcc";
1212 };
13131414- # Fixes a build failure on aarch64-darwin. Define for all Darwin targets for when x86_64-darwin
1515- # upgrades to a newer SDK.
1616- NIX_CFLAGS_COMPILE = lib.optional stdenv.isDarwin "-DTARGET_OS_IPHONE=0";
1717-1814 postPatch = ''
1915 substituteInPlace CMakeLists.txt \
2016 --replace "FRAMEWORK DESTINATION /Library/Frameworks" "FRAMEWORK DESTINATION Library/Frameworks"
···99 sha256 = "113vfrgapyv72lalhd3nkw7jnks8az0gcb5wqn9hj19nhcxlrbcn";
1010 };
11111212+ # Fixes a build failure on aarch64-darwin. Define for all Darwin targets for when x86_64-darwin
1313+ # upgrades to a newer SDK.
1414+ NIX_CFLAGS_COMPILE = lib.optional stdenv.isDarwin "-DTARGET_OS_IPHONE=0";
1515+1216 patches = [
1317 (fetchpatch {
1418 name = "CVE-2019-17362.patch";