X-Git-Url: http://git.megacz.com/?p=nestedvm.git;a=blobdiff_plain;f=Makefile;h=86b008533db8ed1a970ee6373d82b62f1f83fc56;hp=f9fbcbd8e6bdad7efc0014293879edb95a78b3d7;hb=b2b740fdb1e450dea13f037b7110b217c1838e1a;hpb=878d27353651984fcf1afd51e6ec57f633af60b7 diff --git a/Makefile b/Makefile index f9fbcbd..86b0085 100644 --- a/Makefile +++ b/Makefile @@ -77,12 +77,14 @@ all: build/mips2java$(EXE_EXT) $(mips_objects) endif # HACK: Ensure libc is kept up to date when our mips_objects change -$(tasks)/build_libc: $(mips_object) upstream/misc/extraheaders.sh +$(tasks)/build_libc: $(mips_objects) upstream/misc/extraheaders.sh $(tasks)/%: - $(MAKE) -C upstream tasks/$* usr="$(usr)" MIPS_LDFLAGS="$(MIPS_LDFLAGS)" MIPS_CFLAGS="$(MIPS_LDFLAGS)" MIPS_PCFLAGS="$(MIPS_PCFLAGS)" - - + $(MAKE) -C upstream tasks/$* usr="$(usr)" \ + MIPS_CFLAGS="$(filter-out -Werror,$(MIPS_CFLAGS))" \ + MIPS_PCFLAGS="$(filter-out -Werror,$(MIPS_PCFLAGS))" \ + MIPS_LDFLAGS="$(MIPS_LDFLAGS)" + upstream_clean_%: $(MAKE) -C upstream clean_$* usr="$(usr)"