From: Clifford Wolf Date: Sun, 13 May 2018 11:29:18 +0000 (+0200) Subject: Use $(OS) in makefile to check for Darwin X-Git-Tag: yosys-0.8~97 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ae33026799e0f6e05d00557e8f98f5805e3d6f13;p=yosys.git Use $(OS) in makefile to check for Darwin Signed-off-by: Clifford Wolf --- diff --git a/Makefile b/Makefile index 7c5cab8d3..1caa0038b 100644 --- a/Makefile +++ b/Makefile @@ -67,7 +67,7 @@ SED ?= sed BISON ?= bison STRIP ?= strip -ifeq (Darwin,$(findstring Darwin,$(shell uname))) +ifeq ($(OS), Darwin) PLUGIN_LDFLAGS += -undefined dynamic_lookup # homebrew search paths