1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-29 07:27:44 +00:00

Ports: Unbreak ccache

This commit is contained in:
SeekingBlues 2022-06-03 16:29:18 -05:00 committed by Linus Groh
parent a7a5721149
commit c579617375
2 changed files with 44 additions and 0 deletions

View file

@ -0,0 +1,12 @@
# Patches for ccache on SerenityOS
## `0001-Do-not-define-ESTALE-in-config.h.in.patch`
Do not define ESTALE in config.h.in
In ccache, `config.h` is included by the `-include` compiler option,
which means that it is included before any libc headers. This doesn't
cause any problems on systems that redefine this macro when libc headers
are included, but on Serenity, it breaks our definition of the
`ErrnoCode` enum.