From 90439af208b6ca4c1290b9d2fcbde3e09d0b8842 Mon Sep 17 00:00:00 2001 From: Felix Morgner Date: Tue, 17 Sep 2024 16:38:47 +0000 Subject: build: user no-red-zone CRT code Even though it makes no difference, since the CRT code we pull in from the toolchain will never touch the red zone in the first place, it is a good idea to try to be consistent across the build. --- cmake/Platforms/x86_64.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cmake') diff --git a/cmake/Platforms/x86_64.cmake b/cmake/Platforms/x86_64.cmake index 291cbaa..c31150c 100644 --- a/cmake/Platforms/x86_64.cmake +++ b/cmake/Platforms/x86_64.cmake @@ -1,4 +1,4 @@ -execute_process(COMMAND "x86_64-elf-g++" "-print-file-name=crtbegin.o" +execute_process(COMMAND "x86_64-elf-g++" "-mno-red-zone" "-print-file-name=crtbegin.o" OUTPUT_VARIABLE CRT_BEGIN ERROR_QUIET ) -- cgit v1.2.3