Until platform-specific CFLAG filtering can be implemented, the function should check $CHOST and only filter for known values. For example, on IRIX the following flags *must not* be stripped: -c99, -32, -o32, -n32, -64, -mips[1-4], -r{4,5,8,10,12,14,16}000, -TARG:.*, -diag_error [0-9]+ (The last because the compiler incorrectly treats compiler status 1035 - #error directive in a source file - as a warning rather than an error) This is normally dealt with by the compiler wrapper script that I'm (still...) working on re-adding the necessary flags, but it has problems with how gtk+-2 (ab)uses double-quotes during it's build. I'm now resorting to building without the wrapper and relying on the ebuild and the source configure/Makefile not to remove any necessary include, library, or rpaths - but this fails almost immediately because the ebuild's strip-flags statement removes the '-c99' flag, removing C99 and therefore glib support.
This will need significant work. Marking as NeedPatch for now.
We are sorry to close this bug. We lack the man-power and devotion to support mips-irix in the tree.