aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rspamd.com>2024-03-23 22:38:21 +0000
committerVsevolod Stakhov <vsevolod@rspamd.com>2024-03-23 22:38:21 +0000
commitdb02d917d4a0d853938a02ce56b5c4d914fca50f (patch)
tree137562012439c2c70e59ca73eec8b1f15e4105db
parent07d9ea28f5b6db84bd55d3115a603e584a1db417 (diff)
downloadrspamd-db02d917d4a0d853938a02ce56b5c4d914fca50f.tar.gz
rspamd-db02d917d4a0d853938a02ce56b5c4d914fca50f.zip
[Minor] Limit to x86_64
-rw-r--r--cmake/OSDep.cmake4
1 files changed, 3 insertions, 1 deletions
diff --git a/cmake/OSDep.cmake b/cmake/OSDep.cmake
index 78f6549cd..f2bd56cec 100644
--- a/cmake/OSDep.cmake
+++ b/cmake/OSDep.cmake
@@ -23,7 +23,9 @@ IF(CMAKE_SYSTEM_NAME STREQUAL "Darwin")
ADD_COMPILE_OPTIONS(-D_BSD_SOURCE -DDARWIN)
SET(CMAKE_SHARED_LIBRARY_CREATE_C_FLAGS "${CMAKE_SHARED_LIBRARY_CREATE_C_FLAGS} -undefined dynamic_lookup")
IF(ENABLE_LUAJIT MATCHES "ON")
- SET(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -pagezero_size 10000 -image_base 100000000")
+ IF ("${ARCH}" STREQUAL "x86_64")
+ SET(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -pagezero_size 10000 -image_base 100000000")
+ ENDIF()
ENDIF(ENABLE_LUAJIT MATCHES "ON")
MESSAGE(STATUS "Configuring for Darwin")
SET(TAR "gnutar")