I have a docker image with a g++ installed that compiles for armv7 architecture (not to the architecture of the docker image, which is a x86_64). This is a build system which will upload the result elsewhere.
Anyway, my problem is that gradle is identifying the architecture of my docker image and is calling g++ with the argument ‘-m64’, so I get this error.
g++: error: unrecognized command line option ‘-m64’
How to force gradle to not insert platform related arguments like this? I already joint the shared libraries gradle compiles by hand (not giving any arguments) and it compiles fine, it is really a problem of gradle inserting platform related arguments.
Best Regards, Ernani