# HG changeset patch # User Tom Rodriguez # Date 1453747222 28800 # Node ID 7f298e4d1afba9e26187e59e5fdff31b95fc2427 # Parent d2cd0b15957ceaf4c8051baa37188239936c78da Set SDKROOT in saproc.make if it hasn't been set diff -r d2cd0b15957c -r 7f298e4d1afb make/bsd/makefiles/saproc.make --- 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=