--- a/src/mk/localdefs
+++ b/src/mk/localdefs
@@ -5,5 +5,5 @@
 LIBICONV=-L/usr/local/lib -liconv
 INCICONV=-I/usr/local/include
 
-LOCALCXXFLAGS = $(INCICONV) $(CXXFLAGSXAPIAN)
+LOCALCXXFLAGS = $(INCICONV) $(XAPIANCXXFLAGS)