Fix allowing an override of LIBGMP_PATHS (#3870)
This seems to have intended to allow overrides but the specific Makefile syntax used didn't actually allow overrides, so update that to allow env vars from the outside world to override the variable (needed locally on AArch64 I'm building on which has a different path to libgmp)
This commit is contained in:
@@ -13,7 +13,7 @@ SPEC_LIB := $(SPEC_BUILD_DIR)/wasm.cmxa
|
||||
|
||||
# A space-separated list of paths that the linker will use to search for libgmp.
|
||||
# Override with `make LIBGMP_PATHS=...`.
|
||||
LIBGMP_PATHS := /usr/lib /usr/lib/x86_64-linux-gnu
|
||||
LIBGMP_PATHS ?= /usr/lib /usr/lib/x86_64-linux-gnu
|
||||
|
||||
PKGS = zarith
|
||||
|
||||
|
||||
Reference in New Issue
Block a user