And a bit more..so it would be enough for me to just define the cc1 rule in the spec file. That seems to be applied both for gcc and g++ and in the correct order. I originally thought that only one of them would be applied for each one respectively as is written in the gcc info docs:
cc1 Options to pass to the C compiler cc1plus Options to pass to the C++ compiler I think I'll be able to cope with the spec rules now. Thanks for the help :) Juha Kallioinen Juha (Nokia-D/Helsinki) wrote:
Just rambling here a bit more..Looks like if I have both the cc1 and cc1plus rules in the specs file, then g++ will apply both of them in this order:1. cc1 2. user given options 3. cc1plus If I only have cc1plus rule there, g++ will apply it in this order: 1. user given options 2. cc1plus
-- Juha Kallioinen