>> Does this imply the underlying version of macosx doesn't matter, as long as >> you're using Xcode 4.6.1 (or what ever we have standardized upon for JDK8) >> with -mmacosx-version-min=10.7? >> >> That would solve our new machines always having the latest macosx issue, >> that is as long as our instance of Xcode is supported. > But what about the jdk 7? At least for now, if I build it in macosx 10.8, it > does not work om macosx 10.7.(old build system)
Try this: export MACOSX_DEPLOYMENT_TARGET=10.7 before running make, that's the same as providing -mmacosx-version-min=10.7 to gcc on the command line. The JDK7 build machines should continue using 10.7 unless OBS is modified to explicitly set that env variable. -DrD-