Created attachment 404368 [details]
With variables in make.conf like this:
CXXFLAGS="-mschedule=8000 -march=2.0 -ggdb -Wall -O2 -pipe"
I get sci-physics/paw complaining like this:
f951: warning: command line option '-Wno-comment' is valid for C/C++/ObjC/ObjC++ but not for Fortran [enabled by default]
Paw uses heavily patched and sophisticated imake build system. Almost impossible to fix (except for rewriting build system from scratch).
BTW, we have the same problem with cernlib and other imake-based packages.