From 318be8651c62f924176ed30043a35a89fb468df0 Mon Sep 17 00:00:00 2001 From: Clifford Wolf Date: Fri, 19 Jan 2018 23:56:23 +0100 Subject: [PATCH] Use "strip -S" instead of "strip -d" for Mac OS X compatibility Signed-off-by: Clifford Wolf --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index e9627f8d9..dcc8be3eb 100644 --- a/Makefile +++ b/Makefile @@ -502,7 +502,7 @@ install: $(TARGETS) $(EXTRA_TARGETS) $(INSTALL_SUDO) mkdir -p $(DESTDIR)$(BINDIR) $(INSTALL_SUDO) cp $(TARGETS) $(DESTDIR)$(BINDIR) ifneq ($(filter yosys,$(TARGETS)),) - $(INSTALL_SUDO) $(STRIP) -d $(DESTDIR)$(BINDIR)/yosys + $(INSTALL_SUDO) $(STRIP) -S $(DESTDIR)$(BINDIR)/yosys endif ifneq ($(filter yosys-abc,$(TARGETS)),) $(INSTALL_SUDO) $(STRIP) $(DESTDIR)$(BINDIR)/yosys-abc @@ -514,7 +514,7 @@ endif $(INSTALL_SUDO) cp -r share/. $(DESTDIR)$(DATDIR)/. ifeq ($(ENABLE_LIBYOSYS),1) $(INSTALL_SUDO) cp libyosys.so $(DESTDIR)$(LIBDIR) - $(INSTALL_SUDO) $(STRIP) -d $(DESTDIR)$(LIBDIR)/libyosys.so + $(INSTALL_SUDO) $(STRIP) -S $(DESTDIR)$(LIBDIR)/libyosys.so $(INSTALL_SUDO) ldconfig endif