aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomi Ollila <tomi.ollila@iki.fi>2016-05-03 20:23:44 +0300
committerDavid Bremner <david@tethera.net>2016-05-07 14:38:01 -0300
commit43eb32527bfb9663a09c8132af840d0b66a85cff (patch)
treef2a9e4926c40e8ebc3a4e4c2f6aef17c2b39cce5
parent73339ade993b7ae14d26808cfd6efcd0da712f3d (diff)
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.
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
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