Skip to contentSkip to conversation

Cluster Project branch, STABLE2, updated. cluster-2.03.03-19-gfb68486

Cluster-devel [email protected] 1 participant 1 message Jun 9, 2008

lore
Share & tools
lore
#0 lore raw

This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "Cluster Project".

http://sources.redhat.com/git/gitweb.cgi?p=cluster.git;a=commitdiff;h=fb6848630440a0cb6931ec476c2d87329ba4dce5

The branch, STABLE2 has been updated

       via  fb6848630440a0cb6931ec476c2d87329ba4dce5 (commit)
      from  41eb23b17a99c9392829d721b1c3de989ab77941 (commit)

Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below.

- Log ----------------------------------------------------------------- commit fb6848630440a0cb6931ec476c2d87329ba4dce5

Author: Fabio M. Di Nitto <[email protected]>
Date:   Mon Jun 9 21:18:08 2008 +0200

[BUILD] Clean up standard libraries Makefiles

Fix libdlm linking order.

Standardize invokation to AR.

-----------------------------------------------------------------------

Summary of changes:

 ccs/lib/Makefile   |    2 +-
 cman/lib/Makefile  |    2 +-
 dlm/lib/Makefile   |    8 ++++----
 group/lib/Makefile |    2 +-
 4 files changed, 7 insertions(+), 7 deletions(-)
ccs/lib/Makefile +1 -1
index cfcbb2a..5fd759a 100644
@@ -33,7 +33,7 @@ CFLAGS += -I${incdir}
 
 
 ${TARGET}: ${OBJS}
-	${AR} cr $@ $^
+	${AR} cru $@ $^
 	${RANLIB} $@
 
 log.c:
cman/lib/Makefile +1 -1
index fbc4a28..f187085 100644
@@ -38,7 +38,7 @@ CFLAGS += -I${cmanincdir} -I$(S)/../daemon
 CFLAGS += -I${incdir}
 
 $(TARGET).a: $(TARGET).o
-	${AR} r $@ $^
+	${AR} cru $@ $^
 	${RANLIB} $@
 
 $(TARGET).so.${SOMAJOR}.${SOMINOR}: $(TARGET).o
dlm/lib/Makefile +4 -4
index b223df7..d4e53fb 100644
@@ -48,20 +48,20 @@ CFLAGS += -I$(KERNEL_SRC)/include
 PTHREAD_LDFLAGS += -lpthread 
 
 $(TARGET).a: $(TARGET).o $(AISTARGET).o
-	${AR} r $@ $^
+	${AR} cru $@ $^
 	${RANLIB} $@
 
 $(TARGET)_lt.a: $(TARGET)_lt.o
-	${AR} r $@ $^
+	${AR} cru $@ $^
 	${RANLIB} $@
 
 $(TARGET).so.${SOMAJOR}.${SOMINOR}: $(TARGET).po $(AISTARGET).po
-	$(CC) $(PTHREAD_LDFLAGS) $(LDFLAGS) -shared -o $@ -Wl,-soname=$(TARGET).so.$(SOMAJOR) $<
+	$(CC) -shared -o $@ -Wl,-soname=$(TARGET).so.$(SOMAJOR) $< $(PTHREAD_LDFLAGS) $(LDFLAGS)
 	ln -sf $(TARGET).so.$(SOMAJOR).$(SOMINOR) $(TARGET).so
 	ln -sf $(TARGET).so.$(SOMAJOR).$(SOMINOR) $(TARGET).so.$(SOMAJOR)
 
 $(TARGET)_lt.so.${SOMAJOR}.${SOMINOR}: $(TARGET)_lt.po
-	$(CC) $(LDFLAGS) -shared -o $@ -Wl,-soname=$(TARGET)_lt.so.$(SOMAJOR) $<
+	$(CC) -shared -o $@ -Wl,-soname=$(TARGET)_lt.so.$(SOMAJOR) $< $(LDFLAGS)
 	ln -sf $(TARGET)_lt.so.$(SOMAJOR).$(SOMINOR) $(TARGET)_lt.so
 	ln -sf $(TARGET)_lt.so.$(SOMAJOR).$(SOMINOR) $(TARGET)_lt.so.$(SOMAJOR)
 
group/lib/Makefile +1 -1
index 051164c..fc51f97 100644
@@ -26,7 +26,7 @@ CFLAGS += -I${incdir}
 
 
 $(TARGET).a: $(TARGET).o
-	${AR} r $@ $^
+	${AR} cru $@ $^
 	${RANLIB} $@
 
 clean: generalclean

hooks/post-receive
--
Cluster Project