summaryrefslogtreecommitdiff
path: root/mk/platform/SunOS.mk
diff options
context:
space:
mode:
authortv <tv@pkgsrc.org>2004-10-13 15:31:31 +0000
committertv <tv@pkgsrc.org>2004-10-13 15:31:31 +0000
commit53860a0446209ec6d173f39f8b5d2693debe89d2 (patch)
tree8cfe4349a7604256b9ca1b12a783c90c48e01489 /mk/platform/SunOS.mk
parentc590c8aad9a8773129f2553bd1d9a959a06e7eeb (diff)
downloadpkgsrc-53860a0446209ec6d173f39f8b5d2693debe89d2.tar.gz
Make strip/no-strip choice more consistent:
Move check for INSTALL_UNSTRIPPED to the platform/*.mk files, alongside existing check for DEBUG_FLAGS.
Diffstat (limited to 'mk/platform/SunOS.mk')
-rw-r--r--mk/platform/SunOS.mk4
1 files changed, 2 insertions, 2 deletions
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