Index: Makefile |
diff --git a/Makefile b/Makefile |
index 910bcbd5894bd7324c050894ccf3baf854ed71fa..d2c9a9dfacb57fe7b76aeee26e6477d250afac52 100644 |
--- a/Makefile |
+++ b/Makefile |
@@ -273,7 +273,7 @@ mips mips.release mips.debug: |
.SECONDEXPANSION: |
$(MODES): $(addsuffix .$$@,$(DEFAULT_ARCHES)) |
-$(ARCHES): $(addprefix $$@.,$(MODES)) |
+$(ARCHES): $(addprefix $$@.,$(DEFAULT_MODES)) |
# Defines how to build a particular target (e.g. ia32.release). |
$(BUILDS): $(OUTDIR)/Makefile.$$@ |
@@ -368,6 +368,7 @@ $(addsuffix .clean, $(ARCHES) $(ANDROID_ARCHES) $(NACL_ARCHES)): |
rm -f $(OUTDIR)/Makefile.$(basename $@)* |
rm -rf $(OUTDIR)/$(basename $@).release |
rm -rf $(OUTDIR)/$(basename $@).debug |
+ rm -rf $(OUTDIR)/$(basename $@).optdebug |
find $(OUTDIR) -regex '.*\(host\|target\)\.$(basename $@).*\.mk' -delete |
native.clean: |