Merge pull request #113377 from bobrik/ivan/boringssl-aarch64-linux
boringssl: fix aarch64-linux build
This commit is contained in:
commit
8c505165b7
1 changed files with 3 additions and 0 deletions
|
@ -15,6 +15,9 @@ stdenv.mkDerivation {
|
|||
|
||||
makeFlags = [ "GOCACHE=$(TMPDIR)/go-cache" ];
|
||||
|
||||
# CMAKE_OSX_ARCHITECTURES is set to x86_64 by Nix, but it confuses boringssl on aarch64-linux.
|
||||
cmakeFlags = lib.optionals (stdenv.isLinux) [ "-DCMAKE_OSX_ARCHITECTURES=" ];
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $bin/bin $out/include $out/lib
|
||||
|
||||
|
|
Loading…
Reference in a new issue