summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2008-12-12 15:21:51 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2008-12-12 15:21:51 +0000
commit0c2be5a1d1ac59951bfac58ec82897b654ee4d7a (patch)
tree8c68c39baa687884283b2df47d814bc0861afb0d
parent9611f84e124405edc8ce1af0b40560c3a7d6ae72 (diff)
- only strip if cc compiled fine
Avoids displaying an additional error from strip when your cc ICEs or fails otherwise.
-rw-r--r--Makerules2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makerules b/Makerules
index d8dd283bc..24d48c77b 100644
--- a/Makerules
+++ b/Makerules
@@ -216,7 +216,7 @@ compile.i = $(call maybe_exec,compile.i)
compile.s = $(call maybe_exec,compile.s)
compile.S = @$(call maybe_exec,compile.S)
compile.m = @$(call maybe_exec,compile.m)
-compile-m = @$(disp_compile-m) ; $(cmd_compile-m) ; $(cmd_t_strip)
+compile-m = @$(disp_compile-m) ; $(cmd_compile-m) && $(cmd_t_strip)
do_strip = @$(disp_strip) ; $(cmd_strip)
do_t_strip= @$(disp_t_strip) ; $(cmd_t_strip)
do_unifdef= @$(disp_unifdef) ; $(cmd_unifdef)