libtomcrypt,StormLib: fix darwin arm build
Move the incorrect fix from StormLib to proper place in libtomcrypt.
This commit is contained in:
parent
a366e69a12
commit
65b5977402
2 changed files with 4 additions and 4 deletions
|
@ -11,10 +11,6 @@ stdenv.mkDerivation rec {
|
||||||
sha256 = "1rcdl6ryrr8fss5z5qlpl4prrw8xpbcdgajg2hpp0i7fpk21ymcc";
|
sha256 = "1rcdl6ryrr8fss5z5qlpl4prrw8xpbcdgajg2hpp0i7fpk21ymcc";
|
||||||
};
|
};
|
||||||
|
|
||||||
# Fixes a build failure on aarch64-darwin. Define for all Darwin targets for when x86_64-darwin
|
|
||||||
# upgrades to a newer SDK.
|
|
||||||
NIX_CFLAGS_COMPILE = lib.optional stdenv.isDarwin "-DTARGET_OS_IPHONE=0";
|
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
substituteInPlace CMakeLists.txt \
|
substituteInPlace CMakeLists.txt \
|
||||||
--replace "FRAMEWORK DESTINATION /Library/Frameworks" "FRAMEWORK DESTINATION Library/Frameworks"
|
--replace "FRAMEWORK DESTINATION /Library/Frameworks" "FRAMEWORK DESTINATION Library/Frameworks"
|
||||||
|
|
|
@ -9,6 +9,10 @@ stdenv.mkDerivation rec {
|
||||||
sha256 = "113vfrgapyv72lalhd3nkw7jnks8az0gcb5wqn9hj19nhcxlrbcn";
|
sha256 = "113vfrgapyv72lalhd3nkw7jnks8az0gcb5wqn9hj19nhcxlrbcn";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# Fixes a build failure on aarch64-darwin. Define for all Darwin targets for when x86_64-darwin
|
||||||
|
# upgrades to a newer SDK.
|
||||||
|
NIX_CFLAGS_COMPILE = lib.optional stdenv.isDarwin "-DTARGET_OS_IPHONE=0";
|
||||||
|
|
||||||
patches = [
|
patches = [
|
||||||
(fetchpatch {
|
(fetchpatch {
|
||||||
name = "CVE-2019-17362.patch";
|
name = "CVE-2019-17362.patch";
|
||||||
|
|
Loading…
Reference in a new issue