Date: Wednesday, April 5, 2006 @ 11:08:50
Author: marc
Path: /cvsroot/carob/carob
Modified: Makefile (1.35 -> 1.36)
Implemented CAROB-91 (ability to override default CXXFLAGS and LDFLAGS on the
command line)
----------+
Makefile | 14 ++++++++++++--
1 files changed, 12 insertions(+), 2 deletions(-)
Index: carob/Makefile
diff -u carob/Makefile:1.35 carob/Makefile:1.36
--- carob/Makefile:1.35 Tue Mar 28 19:15:39 2006
+++ carob/Makefile Wed Apr 5 11:08:50 2006
@@ -55,8 +55,18 @@
${SRCDIR}/SQLDataSerialization.o\
${SRCDIR}/StringCodecs.o
# _GLIBCXX_GTHREAD_USE_WEAK
-CXXFLAGS = -g3 -Wall -I${INCDIR} -O0
-LDFLAGS = -fPIC -shared -lpthread
+
+# optional CXXFLAGS
+CXXFLAGS = -g3 -Wall -O0
+# mandatory CXXFLAGS
+override CXXFLAGS += -I${INCDIR}
+
+# LDFLAGS is not used for _static_ libcarob.a
+# optional LDFLAGS
+LDFLAGS = -lpthread
+# mandatory LDFLAGS
+override LDFLAGS += -fPIC -shared
+
ARFLAGS = rcs
LIB_CAROB = carob
LIB_CAROB_LIB_SHORT = lib${LIB_CAROB}.so
_______________________________________________
Carob-commits mailing list
[email protected]
https://forge.continuent.org/mailman/listinfo/carob-commits