Mercurial > hg > graal-jvmci-8
changeset 23289:7f298e4d1afb
Set SDKROOT in saproc.make if it hasn't been set
author | Tom Rodriguez <tom.rodriguez@oracle.com> |
---|---|
date | Mon, 25 Jan 2016 10:40:22 -0800 |
parents | d2cd0b15957c |
children | 7eb99acd567f |
files | make/bsd/makefiles/saproc.make |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/make/bsd/makefiles/saproc.make Mon Jan 25 09:21:40 2016 -0800 +++ b/make/bsd/makefiles/saproc.make Mon Jan 25 10:40:22 2016 -0800 @@ -72,6 +72,9 @@ #objc compiler blows up on -march=i586, perhaps it should not be included in the macosx intel 32-bit C++ compiles? SAARCH = $(subst -march=i586,,$(ARCHFLAG)) + ifeq ($(SDKPATH),) + SDKPATH = $(shell xcrun --show-sdk-path) + endif # This is needed to locate JavaNativeFoundation.framework # JDK 8 doesn't have SYSROOT_CFLAGS, so we'll cobble it together here SA_SYSROOT_FLAGS=