summaryrefslogtreecommitdiff
path: root/cmake/os
diff options
context:
space:
mode:
authorVladislav Vaintroub <wlad@montyprogram.com>2012-02-08 11:18:55 +0100
committerVladislav Vaintroub <wlad@montyprogram.com>2012-02-08 11:18:55 +0100
commit8877fe7359b1eef81b62c6531674aaa5a5ce6051 (patch)
tree46cdfb0ce4c0fb1077b11d88eb02996104140a0c /cmake/os
parent4d1c7b794730b101619c5dac33af71e7abcd54d2 (diff)
parent9f9ecc0626b7ef0c54db0d43fd96e7193b907346 (diff)
downloadmariadb-git-8877fe7359b1eef81b62c6531674aaa5a5ce6051.tar.gz
merge
Diffstat (limited to 'cmake/os')
-rw-r--r--cmake/os/SunOS.cmake5
1 files changed, 5 insertions, 0 deletions
diff --git a/cmake/os/SunOS.cmake b/cmake/os/SunOS.cmake
index 3d2b4b8949a..d5a4b5c96b0 100644
--- a/cmake/os/SunOS.cmake
+++ b/cmake/os/SunOS.cmake
@@ -93,3 +93,8 @@ IF(CMAKE_COMPILER_IS_GNUCC AND CMAKE_SIZEOF_VOID_P EQUAL 4
ENDIF()
ENDIF()
ENDIF()
+
+IF(CMAKE_CXX_COMPILER_ID MATCHES "SunPro")
+ # Unnamed structs and unions
+ SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -features=extensions")
+ENDIF()