diff --git a/indra/cmake/00-Common.cmake b/indra/cmake/00-Common.cmake index edb9b8f00d..15cadda692 100755 --- a/indra/cmake/00-Common.cmake +++ b/indra/cmake/00-Common.cmake @@ -176,7 +176,7 @@ if (LINUX) OUTPUT_STRIP_TRAILING_WHITESPACE) # Gentoo defines _FORTIFY_SOURCE by default - if (NOT ${GXX_VERSION} MATCHES "Gentoo 4.[789].*") + if (NOT ( ${GXX_VERSION} MATCHES "Gentoo 4.[789].*" OR ${GXX_VERSION} MATCHES "Gentoo 5.3.*" ) ) # if (${GXX_VERSION} STREQUAL ${CXX_VERSION}) @@ -188,7 +188,7 @@ if (LINUX) endif (${GXX_VERSION} STREQUAL ${CXX_VERSION}) # Gentoo defines _FORTIFY_SOURCE by default - endif (NOT ${GXX_VERSION} MATCHES "Gentoo 4.[789].*") + endif (NOT ( ${GXX_VERSION} MATCHES "Gentoo 4.[789].*" OR ${GXX_VERSION} MATCHES "Gentoo 5.3.*" ) ) # # Let's actually get a numerical version of gxx's version