1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 11:07:46 +00:00

Revert "Build: Include headers from LibC, LibM, and LibPthread with -isystem"

This reverts commit c1eb744ff0.
This commit is contained in:
Andreas Kling 2020-05-20 14:23:31 +02:00
parent 3d02b23af5
commit 250c3b363d
11 changed files with 10 additions and 15 deletions

View file

@ -161,9 +161,6 @@ if (${CMAKE_HOST_SYSTEM_NAME} MATCHES SerenityOS)
else()
include_directories(../Toolchain/Local/i686-pc-serenity/include/c++/10.1.0/)
include_directories(../Toolchain/Local/i686-pc-serenity/include/c++/10.1.0/i686-pc-serenity/)
# FIXME: Many files include <LibC/sys/ioctl_numbers.h> and <LibC/errno_numbers.h>
# With -nostdinc, this makes it interesting to include these headers properly
include_directories(../Libraries/LibC)
endif()
add_executable(Kernel ${SOURCES})