--- a/src/mk/localdefs.in
+++ b/src/mk/localdefs.in
@@ -1,4 +1,4 @@
-# @(#$Id: localdefs.in,v 1.12 2007-02-01 15:01:08 dockes Exp $ (C) 2006 J.F.Dockes
+# @(#$Id: localdefs.in,v 1.13 2008-04-18 11:41:51 dockes Exp $ (C) 2006 J.F.Dockes
# 'Make' definitions which depend on local configuration.
@@ -22,9 +22,10 @@
RECOLL_DATADIR = ${datadir}/recoll
-LOCALCXXFLAGS = $(INCICONV) $(XAPIANCXXFLAGS) $(X_CFLAGS) \
+LOCALCXXFLAGS = -g -O2 -Wall -Wno-unused \
+ $(INCICONV) $(XAPIANCXXFLAGS) $(X_CFLAGS) \
-DRECOLL_DATADIR=\"$(RECOLL_DATADIR)\" \
-DLIBDIR=\"$(libdir)\" \
@DEFS@
-CXXFLAGS = -g -O2 -Wall -Wno-unused
+CXXFLAGS = @CXXFLAGS@