Set TARGET_LIBGCC2_CFLAGS instead of LIBGCC2_CFLAGS.