Skip to content

Commit

Permalink
Revert "Remove unused patches"
Browse files Browse the repository at this point in the history
This reverts commit c74b687.
  • Loading branch information
theuni committed Aug 7, 2018
1 parent 15813b8 commit f7a825f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/native_musl.mk
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ $(package)_download_path=https://www.musl-libc.org/releases
$(package)_file_name=musl-$($(package)_version).tar.gz
$(package)_sha256_hash=d017ee5d01aec0c522a1330fdff06b1e428cb409e1db819cc4935d5da4a5a118
$(package)_dependencies=native_gcc native_binutils
$(package)_patches=qsort.c msort.c qsort2.c

define $(package)_set_vars
$(package)_config_opts=--build=$(build)
Expand All @@ -15,6 +16,9 @@ define $(package)_set_vars
$(package)_config_opts+=CROSS_COMPILE=$(build_toolchain_prefix)/bin/$(build)-
endef

define $(package)_preprocess_cmds
cp $($(package)_patch_dir)/qsort.c $($(package)_patch_dir)/msort.c $($(package)_patch_dir)/qsort2.c src/stdlib
endef

define $(package)_config_cmds
./configure $$($(package)_config_opts)
Expand Down

0 comments on commit f7a825f

Please sign in to comment.