# We must build libgcc2.a with -G 0, in case the user wants to link
# without the $gp register.
-LIBGCC2_CFLAGS = -O2 $(LIBGCC2_INCLUDES) $(GCC_CFLAGS) -g1 -G 0
+TARGET_LIBGCC2_CFLAGS = -G 0
# These are really part of libgcc1, but this will cause them to be
# built correctly, so... [taken from t-sparclite]
# Build the libraries for both hard and soft floating point
-MULTILIB_OPTIONS=msoft-float EL/EB
-MULTILIB_DIRNAMES=soft-float el eb
-MULTILIB_MATCHES=
+MULTILIB_OPTIONS = msoft-float/msingle-float EL/EB mips1/mips3
+MULTILIB_DIRNAMES = soft-float single el eb mips1 mips3
+MULTILIB_MATCHES = msingle-float=m4650
LIBGCC = stmp-multilib
INSTALL_LIBGCC = install-multilib