From 7ce28ec46965feca6863995b32c8950e13474e83 Mon Sep 17 00:00:00 2001 From: bapt Date: Fri, 4 Apr 2014 11:36:08 +0000 Subject: Properly strip binaries and support cross building --- news/sn/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'news') diff --git a/news/sn/Makefile b/news/sn/Makefile index ab43637b2010..a190edfa24a5 100644 --- a/news/sn/Makefile +++ b/news/sn/Makefile @@ -21,13 +21,16 @@ PORTDOCS= README CHANGES FAQ INSTALL INTERNALS \ THANKS TODO INSTALL.notes INSTALL.notes2 \ INSTALL.run INSTALL.upgrade +INSTALL_TARGET= strip install + OPTIONS_DEFINE= DOCS # Try to fix parallel builds (-jX); respect CFLAGS post-patch: ${REINPLACE_CMD} -e 's|sn\.a$$|& lib/libstuff.a| ; \ s|snlockf\.o$$|& lib/libstuff.a| ; \ - s|-g -Wall -pedantic -O|${CFLAGS} -Wall -pedantic|' \ + s|-g -Wall -pedantic -O|${CFLAGS} -Wall -pedantic| ; \ + s|strip |${STRIP_CMD} |' \ ${WRKSRC}/Makefile pre-install: -- cgit