sgx-sdk: fix build

This commit is contained in:
Jonathan Ringer 2022-01-22 12:59:17 -08:00
parent d69a8c54f9
commit 8d530c676a
No known key found for this signature in database
GPG key ID: 5C841D3CFDFEC4E0

View file

@ -46,6 +46,11 @@ stdenv.mkDerivation rec {
'';
patches = [
# Fix missing pthread_compat.h, see https://github.com/intel/linux-sgx/pull/784
(fetchpatch {
url = "https://github.com/intel/linux-sgx/commit/254b58f922a6bd49c308a4f47f05f525305bd760.patch";
sha256 = "sha256-sHU++K7NJ+PdITx3y0PwstA9MVh10rj2vrLn01N9F4w=";
})
# Commit to add missing sgx_ippcp.h not yet part of this release
(fetchpatch {
name = "add-missing-sgx_ippcp-header.patch";