about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorptitSeb <sebastien.chev@gmail.com>2024-08-15 15:50:16 +0200
committerptitSeb <sebastien.chev@gmail.com>2024-08-15 15:50:16 +0200
commit7df2b6b25243a76728902ea4a9da49c773b4b123 (patch)
tree902fb69bca54c471c25e6a942c40ff0b344aaa09
parent017d13a7b0717c61fda67322051ae8a92ce3e035 (diff)
downloadbox64-7df2b6b25243a76728902ea4a9da49c773b4b123.tar.gz
box64-7df2b6b25243a76728902ea4a9da49c773b4b123.zip
Added BOX32 option to CMakeList.txt
-rw-r--r--CMakeLists.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 0c6b4f83..06b8f5a6 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -37,6 +37,7 @@ option(BAD_SIGNAL "Set to ON to activate the workaround for incoherent si_info o
 option(SW64 "Set ON if targeting an SW64 based device" ${SW64})
 option(CI "Set to ON if running in CI" ${CI})
 option(WITH_MOLD "Set to ON to use with mold" ${WITH_MOLD})
+option(BOX32, "Set to ON to add Linux 32bits support (experimental, do not use)" ${BOX32})
 
 if(TERMUX)
     set(TERMUX_PATH "/data/data/com.termux/files")
@@ -231,6 +232,9 @@ if(STATICBUILD)
     set(CMAKE_EXE_LINKER_FLAGS "-static")
     set(HAVE_TRACE OFF)
 endif()
+if(BOX32)
+    add_definitions(-DBOX32)
+endif()
 
 if(NOGIT)
     add_definitions(-DNOGIT)