Commit a30a5958 authored by Alexandre Duret-Lutz's avatar Alexandre Duret-Lutz

Fix builds for older versions of g++.

* configure.ac (CXXFLAGS): Add -DSPOT_BUILD regardless
of whether -fvisibility-inlines-hidden is supported.
parent e7522056
......@@ -67,7 +67,8 @@ AC_LANG(C++)
AX_CHECK_COMPILE_FLAG([-Werror -fvisibility=hidden],
[CXXFLAGS="$CXXFLAGS -fvisibility=hidden"
AX_CHECK_COMPILE_FLAG([-fvisibility-inlines-hidden],
[CXXFLAGS="$CXXFLAGS -fvisibility-inlines-hidden -DSPOT_BUILD"])])
[CXXFLAGS="$CXXFLAGS -fvisibility-inlines-hidden"])])
CXXFLAGS="$CXXFLAGS -DSPOT_BUILD"
AC_HEADER_UNORDERED_MAP
AC_HEADER_TR1_UNORDERED_MAP
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment