summaryrefslogtreecommitdiff
path: root/mk/platform/Darwin.mk
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>2009-07-26 05:32:43 +0000
committeragc <agc@pkgsrc.org>2009-07-26 05:32:43 +0000
commitb9c8a2d4aec9a4d437db859d252472df8c4a39c1 (patch)
tree41adc4086865602b97d9241349597bd04bc6b058 /mk/platform/Darwin.mk
parent525f7eb2974d7ffcee9ba57347379fb831fe8823 (diff)
downloadpkgsrc-b9c8a2d4aec9a4d437db859d252472df8c4a39c1.tar.gz
Get rid of an abstraction violation which has been in the tree since
March 2008. Not vital, but the previous way does not scale well/at all.
Diffstat (limited to 'mk/platform/Darwin.mk')
-rw-r--r--mk/platform/Darwin.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/mk/platform/Darwin.mk b/mk/platform/Darwin.mk
index 9c0ad00ae89..87bc90af417 100644
--- a/mk/platform/Darwin.mk
+++ b/mk/platform/Darwin.mk
@@ -1,4 +1,4 @@
-# $NetBSD: Darwin.mk,v 1.39 2009/07/11 10:32:41 tron Exp $
+# $NetBSD: Darwin.mk,v 1.40 2009/07/26 05:32:43 agc Exp $
#
# Variable definitions for the Darwin operating system.
@@ -100,6 +100,8 @@ _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
+_OPSYS_CAN_CHECK_SHLIBS= no # can't use readelf in check/bsd.check-vars.mk
+
_STRIPFLAG_CC?= ${_INSTALL_UNSTRIPPED:D:U-Wl,-x} # cc(1) option to strip
_STRIPFLAG_INSTALL?= ${_INSTALL_UNSTRIPPED:D:U-s} # install(1) option to strip