From a1a2e905d88da0026cb21020e3cf5573fba3fa51 Mon Sep 17 00:00:00 2001 From: Marc Gauthier Date: Wed, 27 May 2009 22:41:59 -0700 Subject: [PATCH] Fix diffutils build breakage with BR2_STRIP_none=y Look at BR2_STRIP_none to decide whether to strip diffutils binaries. This avoids bad quoting in diffutils Makefile.in (generated by automake 1.6) when STRIP is set to: true -Not_stripping Signed-off-by: Marc Gauthier Signed-off-by: Peter Korsgaard --- package/diffutils/diffutils.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package/diffutils/diffutils.mk b/package/diffutils/diffutils.mk index 1911f912f4..82b42c7ffe 100644 --- a/package/diffutils/diffutils.mk +++ b/package/diffutils/diffutils.mk @@ -94,7 +94,8 @@ $(DIFFUTILS_DIR)/$(DIFFUTILS_BINARY): $(DIFFUTILS_DIR)/.configured $(MAKE) CC=$(TARGET_CC) -C $(DIFFUTILS_DIR) $(TARGET_DIR)/$(DIFFUTILS_TARGET_BINARY): $(DIFFUTILS_DIR)/$(DIFFUTILS_BINARY) - $(MAKE) DESTDIR=$(TARGET_DIR) CC=$(TARGET_CC) -C $(DIFFUTILS_DIR) install-strip + $(MAKE) DESTDIR=$(TARGET_DIR) CC=$(TARGET_CC) -C $(DIFFUTILS_DIR) \ + $(if $(BR2_STRIP_none),install,install-strip) ifneq ($(BR2_HAVE_INFOPAGES),y) rm -rf $(TARGET_DIR)/usr/share/info endif -- 2.30.2