aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2018-05-13 13:29:18 +0200
committerClifford Wolf <clifford@clifford.at>2018-05-13 13:29:18 +0200
commitae33026799e0f6e05d00557e8f98f5805e3d6f13 (patch)
tree79a04a942546b6c9a01bd40c36fdc631a087fe01 /Makefile
parentbab39eacce5c17c42d50a3a60a67cc8a9ee52d98 (diff)
downloadyosys-ae33026799e0f6e05d00557e8f98f5805e3d6f13.tar.gz
yosys-ae33026799e0f6e05d00557e8f98f5805e3d6f13.tar.bz2
yosys-ae33026799e0f6e05d00557e8f98f5805e3d6f13.zip
Use $(OS) in makefile to check for Darwin
Signed-off-by: Clifford Wolf <clifford@clifford.at>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
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