summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorJonathan Perkin <jonathan.perkin@oracle.com>2010-05-07 12:11:09 +0200
committerJonathan Perkin <jonathan.perkin@oracle.com>2010-05-07 12:11:09 +0200
commit5230aa7a5e7275c4b9da3b612ddad8f3370e10b5 (patch)
tree4b1a5e1fb03f2fd3b64f07a3ffe39ad1673fa275 /cmake
parente31887f2ed9a5dd58345f8fd6d28e0729710ac96 (diff)
downloadmariadb-git-5230aa7a5e7275c4b9da3b612ddad8f3370e10b5.tar.gz
Explicitly set OSX flags, to match current release.
Diffstat (limited to 'cmake')
-rw-r--r--cmake/build_configurations/mysql_release.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmake/build_configurations/mysql_release.cmake b/cmake/build_configurations/mysql_release.cmake
index dd1015ff9b9..97de0965f6b 100644
--- a/cmake/build_configurations/mysql_release.cmake
+++ b/cmake/build_configurations/mysql_release.cmake
@@ -141,8 +141,8 @@ IF(UNIX)
# OSX flags
IF(APPLE)
- SET(CMAKE_C_FLAGS_RELWITHDEBINFO "-Os ${CMAKE_C_FLAGS_RELWITHDEBINFO}")
- SET(CMAKE_CXX_FLAGS_RELWITHDEBINFO "-Os ${CMAKE_CXX_FLAGS_RELWITHDEBINFO}")
+ SET(CMAKE_C_FLAGS_RELWITHDEBINFO "-g -Os -fno-common")
+ SET(CMAKE_CXX_FLAGS_RELWITHDEBINFO "-g -Os -felide-constructors -fno-common")
ENDIF()
# Solaris flags