Define MACOSX_DEPLOYMENT_TARGET for Tiger to allow current releases
of software such as Ruby to build on Tiger/PowerPC. Tested with & without on a G4 with Tiger & Leopard. It was not needed on Leopard as the linker defaults to a target of 10.5 & setting it back broke the bootstrap process. Reviewed by wiz@ long ago.
This commit is contained in:
parent
43e7c0052f
commit
168d1b7354
1 changed files with 8 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue