diff options
author | Daniel Silverstone <dsilvers@netsurf-browser.org> | 2011-01-20 09:20:56 +0000 |
---|---|---|
committer | Daniel Silverstone <dsilvers@netsurf-browser.org> | 2011-01-20 09:20:56 +0000 |
commit | 676e19b01137473e1d108cfec067bb4b95b62173 (patch) | |
tree | 961c2fbf25709c42c2b0405d1e458f7033569e8e /makefiles | |
parent | 90ca16be00f57e1d8e5cf1815b8fbe56285fd7e9 (diff) | |
download | buildsystem-676e19b01137473e1d108cfec067bb4b95b62173.tar.gz buildsystem-676e19b01137473e1d108cfec067bb4b95b62173.tar.bz2 |
Ensure we rm the .a file before running ar. That way stale .o elements in the .a don't hang around to confuse me later
svn path=/trunk/tools/buildsystem/; revision=11409
Diffstat (limited to 'makefiles')
-rw-r--r-- | makefiles/Makefile.top | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/makefiles/Makefile.top b/makefiles/Makefile.top index 4600a79..d65cc50 100644 --- a/makefiles/Makefile.top +++ b/makefiles/Makefile.top @@ -363,6 +363,7 @@ $(BUILDDIR)/stamp: $(OUTPUT): $(BUILDDIR)/stamp $(OBJECTS) ifeq ($(COMPONENT_TYPE),lib-static) $(VQ)$(ECHO) $(ECHOFLAGS) " AR: $@" + $(Q)$(RM) $(RMFLAGS) $@ $(Q)$(AR) $(ARFLAGS) $@ $(OBJECTS) else $(VQ)$(ECHO) $(ECHOFLAGS) " LINK: $@" |