mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 00:47:45 +00:00
Revert "Build: Include headers from LibC, LibM, and LibPthread with -isystem"
This reverts commit c1eb744ff0
.
This commit is contained in:
parent
3d02b23af5
commit
250c3b363d
11 changed files with 10 additions and 15 deletions
|
@ -52,8 +52,6 @@ file(GLOB ELF_SOURCES "../LibELF/*.cpp")
|
|||
set(ELF_SOURCES ${ELF_SOURCES} ../LibELF/Arch/i386/plt_trampoline.S)
|
||||
|
||||
add_library(crt0 STATIC crt0.cpp)
|
||||
# We need include headers from LibC in crt0. namely, <assert.h>
|
||||
target_include_directories(crt0 PRIVATE ${CMAKE_CURRENT_SOURCE_DIR})
|
||||
add_custom_command(
|
||||
TARGET crt0
|
||||
COMMAND install -D $<TARGET_OBJECTS:crt0> ${CMAKE_INSTALL_PREFIX}/usr/lib/crt0.o
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue