aboutsummaryrefslogtreecommitdiff
path: root/modules/ECMPrintVariables.cmake
diff options
context:
space:
mode:
authorRaphael Kubo da Costa <rakuco@FreeBSD.org>2012-08-17 07:11:21 -0300
committerRaphael Kubo da Costa <rakuco@FreeBSD.org>2012-08-17 07:11:21 -0300
commitf866e32ecca3e7dddc87afcab4706cf90fcb694d (patch)
treea56e05301e68b837b7b8f8c496170349f3fefa4b /modules/ECMPrintVariables.cmake
parent7752d6d5b9b67987d4631cca4ce192069697a4e2 (diff)
downloadextra-cmake-modules-f866e32ecca3e7dddc87afcab4706cf90fcb694d.tar.gz
extra-cmake-modules-f866e32ecca3e7dddc87afcab4706cf90fcb694d.tar.bz2
Drop -ansi from the default CXXFLAGS.
In preparation for making having the default CXXFLAGS available on all systems using GCC instead of only Linux/Hurd, remove -ansi from the CXXFLAGS. strtoll(3), used, for example, in kdelibs, is part of C99; -ansi means GCC will switch to C89 and C++98, which breaks things on systems such as FreeBSD. It worked on glibc-based systems because libstdc++ always defines _GNU_SOURCE on Linux, which ends up enabling additional features. This change should not break existing code, as dropping -ansi actually means being less strict than before. Discussed in the kde-buildsystem mailing list [1]. [1] http://lists.kde.org/?t=134482883000001&r=1&w=2 CCMAIL: kde-buildsystem@kde.org
Diffstat (limited to 'modules/ECMPrintVariables.cmake')
0 files changed, 0 insertions, 0 deletions