preventing -m options being passed to the compiler
Ben Elliston
bje@au1.ibm.com
Wed Jun 20 05:52:00 GMT 2007
On Wed, 2007-06-20 at 10:44 +1000, Ben Elliston wrote:
> I have a -m option that I am handling in a LIB_SPEC that I do not want
> passed down to cc1. It seems that by default, the driver passes all -m
> options to cc1. Is there a way to prevent that on a per-option basis?
To now answer my own question (for the benefit of others): the CC1_SPEC
string can include the sequence %<moption* to strip those options from
the command line.
Ben
More information about the Gcc
mailing list