diff options
Diffstat (limited to 'mk/platform')
-rw-r--r-- | mk/platform/Darwin.mk | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/mk/platform/Darwin.mk b/mk/platform/Darwin.mk index 2a2c44746e0..35518274ee5 100644 --- a/mk/platform/Darwin.mk +++ b/mk/platform/Darwin.mk @@ -1,4 +1,4 @@ -# $NetBSD: Darwin.mk,v 1.74 2015/10/10 13:12:50 jperkin Exp $ +# $NetBSD: Darwin.mk,v 1.75 2015/12/13 22:38:00 sevan Exp $ # # Variable definitions for the Darwin operating system. @@ -170,6 +170,13 @@ CONFIGURE_ENV+= ac_cv_func_poll=no . endif .endif +# If the deployment target is not set explicitly, the linker in Tiger and prior +# versions running on PowerPC hosts defaults to a target of 10.1. +# Set the target for Tiger systems to be 10.4. +.if !empty(MACHINE_PLATFORM:MDarwin-8.*-powerpc) +MAKE_ENV+= MACOSX_DEPLOYMENT_TARGET="10.4" +.endif + # El Capitan GM has a file system bug where a deep directory hierarchy can be # created but not removed. Avoid running a test which does exactly this. # See https://openradar.appspot.com/radar?id=6160634819379200 |