make CFLAGS='-O2 -m68060' LIBCFLAGS='-g -O2' LIBCXXFLAGS='-g -O2
-fno-implicit-templates'
this is exactly what I did.
That will make the C/C++ libs still contain the standard debug stuff, and
then all of the executables should be built with -O2 -m68060. Thats from
the GCC Installation/Building page.
This would work in case gas isn't stupid and accept multiple -m options and take the last one (i.e. -m68060 -m6802-60 will result in -m68020-60) -- that '-m68060' flag is passed to libgcc in all versions.