From: Tomi Ollila Date: Tue, 3 May 2016 17:23:44 +0000 (+0300) Subject: configure: replace ${CXXLAGS} with ${CXXFLAGS_for_sh} X-Git-Tag: 0.23_rc0~122 X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=commitdiff_plain;h=43eb32527bfb9663a09c8132af840d0b66a85cff 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. --- 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