[PATCH] Forward -target-feature option through to assembler.

Renato Golin renato.golin at linaro.org
Fri Nov 7 10:10:31 PST 2014


On 7 November 2014 18:04, Rafael EspĂ­ndola <rafael.espindola at gmail.com> wrote:
> We normally use -Wa,FOO to be compatible with gnu as. Is there a gnu
> as option that you could use?

I agree, -target-feature is a clang-specific flag and we should not
use it that way. Having the same flag passed again with -Wa and -Wl is
what's expected. If that doesn't work, it's a bog. The integrated
assembler is known to not accept many of those options and that needs
fixing, but not by passing clang options to it.

cheers,
--renato




More information about the cfe-commits mailing list