From 19e552fef72060b4cafc40cfe5d400598158d65b Mon Sep 17 00:00:00 2001 From: "Michael Bradley, Jr" Date: Tue, 1 Mar 2022 09:13:52 -0600 Subject: [PATCH] [wip] allow enough flexibility in env/make vars so e.g. can use Homebrew clang on macOS --- Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index f01b3afe..7f8466c9 100644 --- a/Makefile +++ b/Makefile @@ -96,14 +96,16 @@ NIM_PARAMS += --passC:"-I$(shell dirname $(LIBLEOPARD_HEADER))" --passL:"$(LIBLE endif ifneq ($(detected_OS),macOS) -NIM_PARAMS += --passL:"-fopenmp" +NIM_PARAMS += --passL:-fopenmp endif +NIM_PARAMS += $(NIM_EXTRA_PARAMS) + $(LIBLEOPARD): cd vendor/leopard && \ mkdir -p build && cd build && \ cmake .. $(LIBLEOPARD_CMAKE_FLAGS) && \ - $(MAKE) + $(MAKE) libleopard leopard: $(LIBLEOPARD)