gcc-2.95.3-r8 fails to compile with messages about '-mtune=i686' not being a valid option. If I'm not mistaken, gcc-2.95.x don't support -mtune for x86, so the C[XX]FLAGS that comes from do_filter_flags() should be additionally filtered. When I added: CFLAGS="${CFLAGS//mtune/mcpu}" CXXFLAGS="${CXXFLAGS//mtune/mcpu}" at the end of do_filter_flags(), it compiled without any problems.
or we should update the gcc2-flags() func in flag-o-matic
fixed in flag-o-matic