On Fri, 2006-10-13 at 14:45 +0900, Hiroki Kaminaga wrote: > How about appending to CC1_SPEC? > > -#ifndef CC1_SPEC > +#undef CC1_SPEC > #define CC1_SPEC "\ > %{gline:%{!g:%{!g0:%{!g1:%{!g2: -g1}}}}} \ > %{G*} %{EB:-meb} %{EL:-mel} %{EB:%{EL:%emay not use both -EB and -EL}} \ > %{save-temps: } \ > -%(subtarget_cc1_spec)" > +%(subtarget_cc1_spec) %{profile:-p}" > -#endif > > Other architecture seems to set %{profile:-p} to CC1_SPEC.
Problem is that mips-irix does not want the profile as far as I can tell which is why the SUBTARGET_CC1_SPEC is a good second idea of where it should be defined. Thanks, Andrew Pinski