diff options
| author | cyan <cyjan@mrcyjanek.net> | 2024-11-26 03:22:30 +0000 |
|---|---|---|
| committer | cyan <cyjan@mrcyjanek.net> | 2024-11-26 03:22:30 +0000 |
| commit | 3cf463e1250babee8be449ca28925f701e7fa29a (patch) | |
| tree | 8c198b862f0c80fb3ce7b97c13e3e22226b30475 /contrib/depends/packages/sodium.mk | |
| parent | c90fa7019e8d6ce064e5736223ec055aafb37fd1 (diff) | |
- multithread build system
- fix android, mingw and linux build issues
- remove dependency check
- update Dockerfile to include pigz
- show a message when pigz is missing
- fix devcontainer mingw setup (missing ENV)
Diffstat (limited to 'contrib/depends/packages/sodium.mk')
| -rw-r--r-- | contrib/depends/packages/sodium.mk | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/contrib/depends/packages/sodium.mk b/contrib/depends/packages/sodium.mk index 4af0590..1289c86 100644 --- a/contrib/depends/packages/sodium.mk +++ b/contrib/depends/packages/sodium.mk @@ -6,6 +6,7 @@ $(package)_sha256_hash=6f504490b342a4f8a4c4a02fc9b866cbef8622d5df4e5452b46be121e $(package)_patches=disable-glibc-getrandom-getentropy.patch fix-whitespace.patch define $(package)_set_vars +$(package)_config_env_android=ANDROID_NDK_ROOT="$(host_prefix)/native" PATH="$(host_prefix)/native/bin" CC=clang AR=ar RANLIB=ranlib $(package)_config_opts=--enable-static --disable-shared --with-pic $(package)_config_opts+=--prefix=$(host_prefix) $(package)_ar_ios=$($(package)_ar) rcs @@ -13,20 +14,19 @@ endef define $(package)_preprocess_cmds patch -p1 < $($(package)_patch_dir)/disable-glibc-getrandom-getentropy.patch &&\ - $($(package)_autoconf) &&\ patch -p1 < $($(package)_patch_dir)/fix-whitespace.patch endef define $(package)_config_cmds - $($(package)_autoconf) AR_FLAGS=$($(package)_arflags) + $($(package)_autoconf) endef define $(package)_build_cmds - $(MAKE) + $(MAKE) -j$(NUM_CORES) endef define $(package)_stage_cmds - $(MAKE) DESTDIR=$($(package)_staging_dir) install + $(MAKE) -j$(NUM_CORES) DESTDIR=$($(package)_staging_dir) install endef define $(package)_postprocess_cmds |
