On 2015-03-14 20:34, Dean Long wrote:
Related to that, I noticed that cross-compiler sysroot flags are being
included in
jdk/make/gensrc/GensrcMisc.gmk when BUILD_CC and BUILD_LD are used,
apparently because these flags get added to CFLAGS by default. Is
there such
thing as BUILD_CFLAGS that BUILD_CC should use?
Yes, this is a problem. We currently have no way of overriding those
flags for specific compilations, and I think we should. A workaround is
to empty the SYSROOT_*FLAGS variables before calling
SetupNativeCompilation when using BUILD_CC.
/Erik