clobber GCC_FOR_TARGET; this should solve the specs issue / UNTESTED
[nestedvm.git] / upstream / Makefile
index c8cede7..f15c793 100644 (file)
@@ -107,7 +107,7 @@ tasks/build_gcc_step2: tasks/patch_gcc tasks/build_libc
        mkdir -p $(usr)
        mkdir -p build/gcc-obj && cd build/gcc-obj && \
                ../gcc-$(version_gcc)/configure --prefix=$(usr) $(configure_gcc_step2) && \
-               $(MAKE) TARGET_CFLAGS="$(MIPS_CFLAGS)" && \
+               $(MAKE) TARGET_CFLAGS="$(MIPS_CFLAGS)" GCC_FOR_TARGET=$(usr)/install/bin/mips-unknown-elf-gcc && \
                $(MAKE) install
        touch $@