I'm not particularly fond of the fix, but at the same time I'm finding it difficult to come up with something better.
Chad
Differential D45092
[Driver] Don't forward -m[no-]unaligned-access options to GCC when assembling/linking mcrosier on Mar 30 2018, 7:55 AM. Authored by
Details I'm not particularly fond of the fix, but at the same time I'm finding it difficult to come up with something better. Chad
Diff Detail
Event TimelineComment Actions Should we instead be translating and passing the option expected? At any rate, it looks like we're stripping out in ConstructJob rather than forwardToGCC typically.
Comment Actions I'd prefer not at the moment, being able to use an external assembler could be useful? Maybe having support as a "-fuse-as" with no argument cleaning would be something we could do? Comment Actions We could add a -fuse-as as a convenience, but similar to -fuse-ld it should call as directly, not via gcc. It should currently be possible to select the assembler with -B too. Comment Actions Ah well, I just find it nicer to use gcc as an interface if we're doing that. No one should really use it otherwise. Comment Actions My understanding is that these are compile-time only flags, so I'm not sure there's much value in translating them and then passing them to GCC unless I've missed something. |
effect->affect