RFR(S): 8146638: Only use compiler option files if they are really supported by the toolchain
volker.simonis at gmail.com
Thu Jan 7 19:00:38 UTC 2016
can somebody please review and sponsor (needs regeneration of
generated-configure.sh because of closed sources) the following small
Older versions of gcc don't support the '@file' syntax for passing
options to the compiler trough an options file.
So better check during the configuration phase if gcc supports the
'@file' syntax and configure the make appropriately.
Inside NativeCompilation.gmk we now only use compiler option files if
COMPILER_COMMAND_FILE_FLAG was defined during the configure process
(instead of explicitly checking for the sstudio toolchain which
doesn't support compiler option files as well).
Tested with old/new GCC which don't/support @file and on Solaris to
verify the nothing has been broken.
Thank you and best regards,
More information about the build-dev