From 53860a0446209ec6d173f39f8b5d2693debe89d2 Mon Sep 17 00:00:00 2001 From: tv Date: Wed, 13 Oct 2004 15:31:31 +0000 Subject: Make strip/no-strip choice more consistent: Move check for INSTALL_UNSTRIPPED to the platform/*.mk files, alongside existing check for DEBUG_FLAGS. --- mk/platform/SunOS.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mk/platform/SunOS.mk') diff --git a/mk/platform/SunOS.mk b/mk/platform/SunOS.mk index 715d0a67c8c..ae7cc121c8e 100644 --- a/mk/platform/SunOS.mk +++ b/mk/platform/SunOS.mk @@ -1,4 +1,4 @@ -# $NetBSD: SunOS.mk,v 1.3 2004/10/12 08:38:19 uebayasi Exp $ +# $NetBSD: SunOS.mk,v 1.4 2004/10/13 15:31:31 tv Exp $ # # Variable definitions for the SunOS/Solaris operating system. @@ -145,7 +145,7 @@ _OPSYS_NO_WHOLE_ARCHIVE_FLAG= -z defaultextract # incompatible. _INCOMPAT_ICONV= SunOS-*-* -.if !defined(DEBUG_FLAGS) +.if (!defined(INSTALL_UNSTRIPPED) || empty(INSTALL_UNSTRIPPED:M[yY][eE][sS])) && !defined(DEBUG_FLAGS) _STRIPFLAG_CC?= -s # cc(1) option to strip _STRIPFLAG_INSTALL?= -s # install(1) option to strip .endif -- cgit v1.2.3