Message ID | 20140821124832.22445.27923.stgit@warthog.procyon.org.uk (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/scripts/Makefile.build b/scripts/Makefile.build index bf3e6778cd71..5bd80ef22866 100644 --- a/scripts/Makefile.build +++ b/scripts/Makefile.build @@ -330,7 +330,7 @@ quiet_cmd_link_o_target = LD $@ cmd_link_o_target = $(if $(strip $(obj-y)),\ $(LD) $(ld_flags) -r -o $@ $(filter $(obj-y), $^) \ $(cmd_secanalysis),\ - rm -f $@; $(AR) rcs$(KBUILD_ARFLAGS) $@) + $(CC) $(c_flags) -x c -c - -o $@ </dev/null) $(builtin-target): $(obj-y) FORCE $(call if_changed,link_o_target)