summaryrefslogtreecommitdiff
path: root/mk/platform/Darwin.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/Darwin.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/Darwin.mk')
-rw-r--r--mk/platform/Darwin.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/platform/Darwin.mk b/mk/platform/Darwin.mk
index 74ef0223bed..c5c83ea6002 100644
--- a/mk/platform/Darwin.mk
+++ b/mk/platform/Darwin.mk
@@ -1,4 +1,4 @@
-# $NetBSD: Darwin.mk,v 1.1 2004/10/06 20:51:47 jlam Exp $
+# $NetBSD: Darwin.mk,v 1.2 2004/10/13 15:31:31 tv Exp $
#
# Variable definitions for the Darwin operating system.
@@ -146,7 +146,7 @@ _USE_RPATH= no # don't add rpath to LDFLAGS
_OPSYS_WHOLE_ARCHIVE_FLAG= -Wl,--whole-archive
_OPSYS_NO_WHOLE_ARCHIVE_FLAG= -Wl,--no-whole-archive
-.if !defined(DEBUG_FLAGS)
+.if (!defined(INSTALL_UNSTRIPPED) || empty(INSTALL_UNSTRIPPED:M[yY][eE][sS])) && !defined(DEBUG_FLAGS)
_STRIPFLAG_CC?= -Wl,-x # cc(1) option to strip
_STRIPFLAG_INSTALL?= -s # install(1) option to strip
.endif