Mercurial > hg > graal-jvmci-8
changeset 22666:a241f629dbfb
use xcodebuild to get SDKROOT
author | Andreas Woess <andreas.woess@oracle.com> |
---|---|
date | Wed, 07 Oct 2015 18:26:27 +0200 |
parents | d92c9f043d02 |
children | 9692347207a7 |
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 Wed Oct 07 17:48:07 2015 +0200 +++ b/make/bsd/makefiles/saproc.make Wed Oct 07 18:26:27 2015 +0200 @@ -76,6 +76,9 @@ ifeq ($(SYSROOT_CFLAGS),) # this will happen when building without spec.gmk, set SDKROOT to a valid SDK # path if your system does not have headers installed in the system frameworks + ifeq ($(SDKROOT),) + SDKROOT = `xcodebuild -sdk macosx -version|grep '^Path: '|sed 's/Path: //'` + endif SA_SYSROOT_FLAGS = -F"$(SDKROOT)/System/Library/Frameworks/JavaVM.framework/Frameworks" else # Just use SYSROOT_CFLAGS