blob: 61d4b8d401d47e7a11e4141d8b337a6ccf033927 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
Do not fallback to pas2c on 32-bit arches. FPC alignment bug has been fixed:
https://gitlab.com/freepascal.org/fpc/source/-/commit/fb918994574fec69e44b9868e0147510473b5aae
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -78,10 +78,6 @@ if(BUILD_ENGINE_JS)
set(target_library_install_dir "lib" CACHE PATH "install dest for libs")
endif()
-if("${CMAKE_SIZEOF_VOID_P}" EQUAL "4" AND UNIX AND NOT APPLE)
- set(BUILD_ENGINE_C ON CACHE STRING "PAS2C force-enabled due to a freepascal 32 bit alignment bug" FORCE)
-endif()
-
#system paths for finding required fonts (see share/hedgewars/Data/fonts)
#subdirectories will NOT be searched.
#all fonts that can't be found will be bundled with hedgewars
|