aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/cmake/00-Common.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/cmake/00-Common.cmake')
-rw-r--r--linden/indra/cmake/00-Common.cmake15
1 files changed, 8 insertions, 7 deletions
diff --git a/linden/indra/cmake/00-Common.cmake b/linden/indra/cmake/00-Common.cmake
index 8c6ca2d..9b3f423 100644
--- a/linden/indra/cmake/00-Common.cmake
+++ b/linden/indra/cmake/00-Common.cmake
@@ -112,15 +112,16 @@ if (LINUX)
112 endif (NOT ${GXX_VERSION} MATCHES " 4.1.*Red Hat") 112 endif (NOT ${GXX_VERSION} MATCHES " 4.1.*Red Hat")
113 endif (${GXX_VERSION} STREQUAL ${CXX_VERSION}) 113 endif (${GXX_VERSION} STREQUAL ${CXX_VERSION})
114 114
115 # GCC 4.3 introduces a pile of obnoxious new warnings, which we
116 # treat as errors due to -Werror. Quiet the most offensive and
117 # widespread of them.
118 115
119 if (${CXX_VERSION} MATCHES "4.3") 116 # Silence certain types of compiler warnings, to prevent them from
120 add_definitions(-Wno-deprecated -Wno-parentheses) 117 # breaking compile (due to -Werror treating them as errors).
121 endif (${CXX_VERSION} MATCHES "4.3") 118
119 add_definitions(
120 -Wno-deprecated
121 -Wno-parentheses
122 -Wno-unused-variable
123 )
122 124
123 # End of hacks.
124 125
125 add_definitions( 126 add_definitions(
126 -DLL_LINUX=1 127 -DLL_LINUX=1