From: Clifford Wolf Date: Fri, 19 Jan 2018 22:56:23 +0000 (+0100) Subject: Use "strip -S" instead of "strip -d" for Mac OS X compatibility X-Git-Tag: yosys-0.8~229 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=318be8651c62f924176ed30043a35a89fb468df0;p=yosys.git Use "strip -S" instead of "strip -d" for Mac OS X compatibility Signed-off-by: Clifford Wolf --- 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