Gradle 2.9 native platform detection

I have a script that cross compiles. But its not detecting the arm platform as being valid.

“Don’t know how to build for platform ‘arm’.”

not sure if this is breaking it, but it seems wrong:

gradle --info says its testing all gcc toolchains with either “-m32 -dM -E -” or “-m64 -dM -E -” to see if its runnable?
but the arm compiler (Xilinx/2014.2) doesn’t support any -m option?

is that what is breaking things?

any workarounds?