summaryrefslogtreecommitdiff
path: root/indra/cmake
diff options
context:
space:
mode:
authorBryan O'Sullivan <bos@lindenlab.com>2009-02-25 00:56:40 +0000
committerBryan O'Sullivan <bos@lindenlab.com>2009-02-25 00:56:40 +0000
commit78f95ee9d48f9a2a27e966d74c00e85b9c55ee76 (patch)
treebac9a1a20847cf0e6835646289ad5bcec6278769 /indra/cmake
parent42264240aaf8504615f76f8e6629245a1cf953bd (diff)
Fix build of buffer_file with g++ 4.3
Diffstat (limited to 'indra/cmake')
-rw-r--r--indra/cmake/00-Common.cmake3
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/cmake/00-Common.cmake b/indra/cmake/00-Common.cmake
index c939afc863..610aa99dc9 100644
--- a/indra/cmake/00-Common.cmake
+++ b/indra/cmake/00-Common.cmake
@@ -114,7 +114,8 @@ if (LINUX)
# widespread of them.
if (${CXX_VERSION} MATCHES "4.3")
- add_definitions(-Wno-deprecated -Wno-parentheses)
+ add_definitions(-Wno-parentheses)
+ set(CMAKE_CXX_FLAGS "-Wno-deprecated ${CMAKE_CXX_FLAGS}")
endif (${CXX_VERSION} MATCHES "4.3")
# End of hacks.