mirror of https://gitee.com/bigwinds/arangodb
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
This commit is contained in:
commit
ad57307bf0
|
@ -36,6 +36,9 @@ endif()
|
|||
if ("${CMAKE_TARGET_ARCHITECTURES}" STREQUAL "armv7")
|
||||
set(V8_PROC_ARCH "arm")
|
||||
list(APPEND V8_GYP_ARGS -Darm_version=7 -Darm_fpu=default -Darm_float_abi=default)
|
||||
elseif("${CMAKE_TARGET_ARCHITECTURES}" STREQUAL "aarch64")
|
||||
set(V8_PROC_ARCH "arm64")
|
||||
list(APPEND V8_GYP_ARGS -Darm_fpu=default -Darm_float_abi=default)
|
||||
else ()
|
||||
if ("${BITS}" STREQUAL "64")
|
||||
set(V8_PROC_ARCH "x64")
|
||||
|
|
|
@ -90,7 +90,11 @@ elseif (UNIX AND NOT APPLE)
|
|||
set(LINUX TRUE)
|
||||
set(OS_DEFINE "OS_LINUX")
|
||||
set(POSIX_FLAG "-DROCKSDB_PLATFORM_POSIX -DROCKSDB_LIB_IO_POSIX")
|
||||
set(SYSTEM_LIBS pthread rt z)
|
||||
if (CROSS_COMPILING)
|
||||
set(SYSTEM_LIBS pthread rt)
|
||||
else()
|
||||
set(SYSTEM_LIBS pthread rt z)
|
||||
endif ()
|
||||
elseif (CMAKE_SYSTEM_NAME MATCHES "kFreeBSD.*")
|
||||
set(FREEBSD TRUE)
|
||||
set(OS_DEFINE "OS_FREEBSD")
|
||||
|
|
Loading…
Reference in New Issue