From 43eb32527bfb9663a09c8132af840d0b66a85cff Mon Sep 17 00:00:00 2001 From: Tomi Ollila Date: Tue, 3 May 2016 20:23:44 +0300 Subject: [PATCH] configure: replace ${CXXLAGS} with ${CXXFLAGS_for_sh} Variable CXXLAGS expands to nothing, CXXFLAGS something unusable here; CXXFLAGS_for_sh expands to what we expect here. --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure b/configure index 6231d2b7..49fc7391 100755 --- a/configure +++ b/configure @@ -380,7 +380,7 @@ int main(int argc, char** argv) { Xapian::WritableDatabase db("test.db",Xapian::DB_CREATE_OR_OPEN); } EOF - ${CXX} ${CXXLAGS} ${xapian_cxxflags} _default_backend.cc -o _default_backend ${xapian_ldflags} + ${CXX} ${CXXFLAGS_for_sh} ${xapian_cxxflags} _default_backend.cc -o _default_backend ${xapian_ldflags} ./_default_backend if [ -f test.db/iamglass ]; then default_xapian_backend=glass -- 2.43.0