Gradle 2.0 definition of target cross-compiler doesn't work with gcc that doesn't support reading command line options from file


(Ken Erickson) #1

I have upgraded from Gradle 1.12 to Gradle 2.0 and with the change to the simplified definition of a target cross-compiler the call to gcc has changed from specifying the command-line options on the command-line to specifying them in options.txt.

The gcc compiler I am using for my cross-compile does not support specification of command-line options in a file. Is there a way for force the use of command-line over the options.txt file? Here are snippets of my 1.12 and 2.0 definitions:

https://gist.github.com/anonymous/7e80670dcd3a091127e9#file-gradle-cross-compile-definition