mirror of
https://github.com/MariaDB/server.git
synced 2025-01-26 16:54:15 +01:00
Workaround a linker problem on OSX 10.4
This commit is contained in:
parent
ed40723dc9
commit
5c871c9017
1 changed files with 6 additions and 0 deletions
|
@ -92,6 +92,12 @@ IF(CMAKE_COMPILER_IS_GNUCXX)
|
|||
# mininal architecture flags, i486 enables GCC atomics
|
||||
ADD_DEFINITIONS(-march=i486)
|
||||
ENDIF()
|
||||
IF(APPLE AND CMAKE_OSX_DEPLOYMENT_TARGET)
|
||||
# Workaround linker problems on OSX 10.4
|
||||
IF(CMAKE_OSX_DEPLOYMENT_TARGET VERSION_LESS "10.5")
|
||||
ADD_DEFINITIONS(-fno-common)
|
||||
ENDIF()
|
||||
ENDIF()
|
||||
ENDIF()
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue