OSDN Git Service

- only strip if cc compiled fine
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Fri, 12 Dec 2008 15:21:51 +0000 (15:21 -0000)
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Fri, 12 Dec 2008 15:21:51 +0000 (15:21 -0000)
  Avoids displaying an additional error from strip when your cc ICEs or
  fails otherwise.

Makerules

index d8dd283..24d48c7 100644 (file)
--- 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)