Skip to content

Commit

Permalink
Merge pull request #8518 from eschnett/sys.o
Browse files Browse the repository at this point in the history
Avoid half-written sys.o files
  • Loading branch information
Keno committed Sep 29, 2014
2 parents ef8d56f + 24a7f2c commit 74b5c9a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,8 @@ endif
# use sys.ji if it exists, otherwise run two stages
$(build_private_libdir)/sys%ji: $(build_private_libdir)/sys%o

.PRECIOUS: $(build_private_libdir)/sys%o
.SECONDARY: $(build_private_libdir)/sys.o
.SECONDARY: $(build_private_libdir)/sys0.o

$(build_private_libdir)/sys%$(SHLIB_EXT): $(build_private_libdir)/sys%o
$(CXX) -shared -fPIC -L$(build_private_libdir) -L$(build_libdir) -L$(build_shlibdir) -o $@ $< \
Expand Down

0 comments on commit 74b5c9a

Please sign in to comment.