summaryrefslogtreecommitdiff
path: root/mk/platform/Darwin.mk
diff options
context:
space:
mode:
Diffstat (limited to 'mk/platform/Darwin.mk')
-rw-r--r--mk/platform/Darwin.mk12
1 files changed, 1 insertions, 11 deletions
diff --git a/mk/platform/Darwin.mk b/mk/platform/Darwin.mk
index 26726d471d1..2cd43409d8a 100644
--- a/mk/platform/Darwin.mk
+++ b/mk/platform/Darwin.mk
@@ -1,4 +1,4 @@
-# $NetBSD: Darwin.mk,v 1.79 2016/02/29 10:05:47 jperkin Exp $
+# $NetBSD: Darwin.mk,v 1.80 2016/03/10 16:58:19 jperkin Exp $
#
# Variable definitions for the Darwin operating system.
@@ -152,16 +152,6 @@ BUILDLINK_TRANSFORM+= rm:-Wl,--export-dynamic
BUILDLINK_TRANSFORM+= rm:-Wl,--gc-sections
BUILDLINK_TRANSFORM+= rm:-Wl,--no-undefined
-# flags passed to the linker to extract all symbols from static archives.
-# this is GNU ld.
-.if empty(MACHINE_PLATFORM:MDarwin-[0-8].*-*)
-_OPSYS_WHOLE_ARCHIVE_FLAG= -Wl,-force-load
-_OPSYS_NO_WHOLE_ARCHIVE_FLAG=
-.else
-_OPSYS_WHOLE_ARCHIVE_FLAG= -Wl,--whole-archive
-_OPSYS_NO_WHOLE_ARCHIVE_FLAG= -Wl,--no-whole-archive
-.endif
-
_OPSYS_CAN_CHECK_SHLIBS= yes # check shared libraries using otool(1)
# OSX strip(1) tries to remove relocatable symbols and fails on certain