Set fixed alignment and base address to allow execution under BIOS
Some checks failed
Builds / ExectOS (i686, debug) (push) Failing after 29s
Builds / ExectOS (amd64, debug) (push) Failing after 29s
Builds / ExectOS (i686, release) (push) Failing after 35s
Builds / ExectOS (amd64, release) (push) Failing after 38s

This commit is contained in:
2025-10-15 21:03:03 +02:00
parent 0a71bc3995
commit 1e99a3f4a9

View File

@@ -39,6 +39,9 @@ add_executable(xtldr ${XTLDR_SOURCE})
# Add linker libraries # Add linker libraries
target_link_libraries(xtldr libxtos) target_link_libraries(xtldr libxtos)
# Add linker options
target_link_options(xtldr PRIVATE /ALIGN:512 /DYNAMICBASE:NO /FIXED)
# Set proper binary name and install target # Set proper binary name and install target
if(ARCH STREQUAL "i686") if(ARCH STREQUAL "i686")
set(BINARY_NAME "bootia32") set(BINARY_NAME "bootia32")