diff --git a/indra/cmake/00-Common.cmake b/indra/cmake/00-Common.cmake
index c939afc863b22394c90e5e04a233f807c2988d5a..610aa99dc98eea09bc9e2bf05d18b4f86afce223 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.