mirror of
https://github.com/MariaDB/server.git
synced 2026-05-14 19:07:15 +02:00
Fix typo (CMAKE_SIZEOF_VOIDP=>CMAKE_SIZEOF_VOID_P)
This commit is contained in:
parent
22f923f2b1
commit
402cab754a
3 changed files with 5 additions and 5 deletions
|
|
@ -151,7 +151,7 @@ IF(UNIX)
|
|||
ENDIF()
|
||||
IF(CMAKE_C_COMPILER_ID MATCHES "SunPro")
|
||||
IF(CMAKE_SYSTEM_PROCESSOR MATCHES "i386")
|
||||
IF(CMAKE_SIZEOF_VOIDP EQUAL 4)
|
||||
IF(CMAKE_SIZEOF_VOID_P EQUAL 4)
|
||||
# Solaris x86
|
||||
SET(CMAKE_C_FLAGS_RELWITHDEBINFO
|
||||
"-g -xO2 -mt -fsimple=1 -ftrap=%none -nofstore -xbuiltin=%all -xlibmil -xlibmopt -xtarget=generic")
|
||||
|
|
@ -165,7 +165,7 @@ IF(UNIX)
|
|||
"-g0 -xO3 -mt -fsimple=1 -ftrap=%none -nofstore -xbuiltin=%all -features=no%except -xlibmil -xlibmopt -xtarget=generic")
|
||||
ENDIF()
|
||||
ELSE()
|
||||
IF(CMAKE_SIZEOF_VOIDP EQUAL 4)
|
||||
IF(CMAKE_SIZEOF_VOID_P EQUAL 4)
|
||||
# Solaris sparc 32 bit
|
||||
SET(CMAKE_C_FLAGS_RELWITHDEBINFO "-g -xO3 -Xa -xstrconst -mt -xarch=sparc")
|
||||
SET(CMAKE_CXX_FLAGS_RELWITHDEBINFO "-g0 -xO3 -noex -mt -xarch=sparc")
|
||||
|
|
|
|||
|
|
@ -56,7 +56,7 @@ ADD_DEFINITIONS("-D_WIN32_WINNT=0x0501")
|
|||
ADD_DEFINITIONS("-DWIN32_LEAN_AND_MEAN")
|
||||
|
||||
# Adjust compiler and linker flags
|
||||
IF(MINGW AND CMAKE_SIZEOF_VOIDP EQUAL 4)
|
||||
IF(MINGW AND CMAKE_SIZEOF_VOID_P EQUAL 4)
|
||||
# mininal architecture flags, i486 enables GCC atomics
|
||||
ADD_DEFINITIONS(-march=i486)
|
||||
ENDIF()
|
||||
|
|
@ -193,4 +193,4 @@ IF(NOT HAVE_SIZE_OF_SSIZE_T)
|
|||
SET(ssize_t SSIZE_T)
|
||||
ENDIF()
|
||||
|
||||
SET(FN_NO_CASE_SENSE 1)
|
||||
SET(FN_NO_CASE_SENSE 1)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue