aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoreschnett <eschnett@83718e91-0e4f-0410-abf4-91180603181f>2011-08-07 18:58:31 +0000
committereschnett <eschnett@83718e91-0e4f-0410-abf4-91180603181f>2011-08-07 18:58:31 +0000
commit4103c6c03a7305fd9463951176cacfb5eb9c1789 (patch)
tree5d0a71ac4a712864599fc831e068654a43617bca
parentb1515b29749f980228bc1f38546eac54fcd5d10a (diff)
Delete archive file before re-generating it
Delete the archive file libthorn_Formaline-cactus-source.a before re-generating it. This circumvents a problem on Mac OSX Lion. git-svn-id: http://svn.cactuscode.org/arrangements/CactusUtils/Formaline/trunk@206 83718e91-0e4f-0410-abf4-91180603181f
-rw-r--r--src/make.configuration.deps1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/make.configuration.deps b/src/make.configuration.deps
index 37987bf..ba81ac3 100644
--- a/src/make.configuration.deps
+++ b/src/make.configuration.deps
@@ -43,6 +43,7 @@ FRM-OBJS-other = $(TARBALL_DIR)/flesh-Cactus-????.o $(patsubst %,$(TARBALL_DIR)/
$(FRM-LIB): $(FRM-OBJS)
# $(AR) $(ARFLAGS) $@ $^
$(MAKE) -f $(MAKE_DIR)/make.configuration $(FRM-LIB).objectlist.custom
+ $(RM) $@ 2>/dev/null
xargs -n $(FRM-OBJS-words-max) $(AR) $(ARFLAGS) $@ < $(FRM-LIB).objectlist
$(RM) $(FRM-LIB).objectlist
if test "x$(USE_RANLIB)" = "xyes" ; then $(RANLIB) $(RANLIBFLAGS) $@ ; fi