1
0
Fork 0

Merge branch 'devel' of https://github.com/arangodb/arangodb into devel

This commit is contained in:
jsteemann 2016-07-25 16:52:48 +02:00
commit ad57307bf0
2 changed files with 8 additions and 1 deletions

View File

@ -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")

View File

@ -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")