aboutsummaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorMatteo Gmür <matteo.gmuer1@ost.ch>2024-11-24 09:03:24 +0000
committerMatteo Gmür <matteo.gmuer1@ost.ch>2024-11-24 09:03:24 +0000
commit27a56b0e828cecaa5a6a40e3f30b5c0e1785aff6 (patch)
treeba6a966c3502d5bb2207ac3d19b053878dc55ed3 /cmake
parent52c1979b22c5e66459659a9cda8d69a2c9b148ca (diff)
parent1cd666241b59b800818812220e28b8b8572e4263 (diff)
downloadteachos-27a56b0e828cecaa5a6a40e3f30b5c0e1785aff6.tar.xz
teachos-27a56b0e828cecaa5a6a40e3f30b5c0e1785aff6.zip
Merge branch 'fmorgner/kernel-remapping-patch' into feat_memory_manager
Diffstat (limited to 'cmake')
-rw-r--r--cmake/Platforms/x86_64.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/Platforms/x86_64.cmake b/cmake/Platforms/x86_64.cmake
index c31150c..6e99b62 100644
--- a/cmake/Platforms/x86_64.cmake
+++ b/cmake/Platforms/x86_64.cmake
@@ -15,7 +15,7 @@ set(CMAKE_TRY_COMPILE_TARGET_TYPE "STATIC_LIBRARY")
set(CMAKE_C_COMPILER "x86_64-elf-gcc")
set(CMAKE_CXX_COMPILER "x86_64-elf-g++")
-set(CMAKE_CXX_FLAGS_INIT "-m64 -mno-red-zone -mcmodel=large -fno-exceptions -ffunction-sections -fdata-sections")
+set(CMAKE_CXX_FLAGS_INIT "-m64 -mno-red-zone -mcmodel=large -fno-rtti -fno-exceptions -ffunction-sections -fdata-sections")
set(CMAKE_CXX_FLAGS_DEBUG "-ggdb3")
set(CMAKE_ASM_FLAGS_DEBUG "-ggdb3")
set(CMAKE_CXX_FLAGS_RELWITHDEBINFO "-ggdb3")