mirror of
https://github.com/RGBCube/serenity
synced 2025-07-19 04:37:38 +00:00
![]() The pattern of having Prekernel inherit all of the build flags of the Kernel, and then disabling some flags by adding `-fno-<flag>` options to then disable those options doesn't work in all scenarios. For example the ASAN flag `-fasan-shadow-offset=<offset>` has no option to disable it once it's been passed, so in a future change where this flag is added we need to be able to disable it cleanly. The cleaner way is to just allow the Prekernel CMake logic to filter out the COMPILE_OPTIONS specified for that specific target. This allows us to remove individual options without trashing all inherited options. |
||
---|---|---|
.. | ||
boot.S | ||
CMakeLists.txt | ||
init.cpp | ||
linker.ld | ||
multiboot.S | ||
Prekernel.h | ||
UBSanitizer.cpp |