All,

Is there an approved method for forcing a given specfile to use GCC?

Unfortunately, if CC is not set to gcc when the specfile is invoked,
including Solaris.inc will set optflags and _ldflags incorrectly.

The only solution I have been able to think of so far, is to create a
new base spec named 'requires_gcc.inc' which is included after
Solaris.inc which forcibly sets optflags and _ldflags.

It would be idea if it was possible to override CC/CXX prior to
including Solaris.inc, however I was not able to find any mechanism to
do so.


Thoughts?

Steve

Reply via email to