Patch libsnark to build with my compiler. Upstream PR #35.

This commit is contained in:
Taylor Hornby
2016-05-18 10:57:30 -06:00
parent 6dc53bdc33
commit e334392fab
2 changed files with 34 additions and 2 deletions

View File

@@ -7,10 +7,11 @@ $(package)_sha256_hash=b5ec84a836d0d305407d5f39c8176bae2bb448abe802a8d11ba0f88f1
$(package)_git_commit=69f312f149cc4bd8def8e2fed26a7941ff41251d
$(package)_dependencies=libgmp
$(package)_patches=1_fix_Wl_flag.patch
$(package)_patches=1_fix_Wl_flag.patch 2_include_iota_header.patch
define $(package)_preprocess_cmds
patch -p1 < $($(package)_patch_dir)/1_fix_Wl_flag.patch
patch -p1 < $($(package)_patch_dir)/1_fix_Wl_flag.patch && \
patch -p1 < $($(package)_patch_dir)/2_include_iota_header.patch
endef
define $(package)_build_cmds