1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2024-12-29 05:12:41 +00:00

use -std=c++0x for C++ sources

This is for --enable-testing, as we use C99 features (anonymous variadic
macros, in logging.h).
This commit is contained in:
Phil Sutter 2009-12-17 22:14:22 +01:00
parent 4229fbd380
commit 3bc141cb7b

View File

@ -947,7 +947,7 @@ conky_CXXFLAGS=${conky_CXXFLAGS/-Wdeclaration-after-statement/}
conky_CXXFLAGS=${conky_CXXFLAGS/-Wbad-function-cast/} conky_CXXFLAGS=${conky_CXXFLAGS/-Wbad-function-cast/}
conky_CXXFLAGS=${conky_CXXFLAGS/-Wstrict-prototypes/} conky_CXXFLAGS=${conky_CXXFLAGS/-Wstrict-prototypes/}
conky_CXXFLAGS=${conky_CXXFLAGS/-Wold-style-definition/} conky_CXXFLAGS=${conky_CXXFLAGS/-Wold-style-definition/}
conky_CXXFLAGS=${conky_CXXFLAGS/-std=c99/-std=c++98} conky_CXXFLAGS=${conky_CXXFLAGS/-std=c99/-std=c++0x}
AC_SUBST(conky_CFLAGS) AC_SUBST(conky_CFLAGS)
AC_SUBST(conky_CXXFLAGS) AC_SUBST(conky_CXXFLAGS)