The parameters should be stored in the spec file, but don't ask me how this is working. I never used it. The spec file for my cross compiler is stored at the following place:
/usr/local/ps2/lib/gcc-lib/mipsEEel-linux/2.95.2/specs

Maybe replacing some occurances of "-mcpu=r5900" or "mcpu" will help.