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

AK+LibC: Remove SERENITY_LIBC_BUILD guard around <initializer_list>

This was required before commit 5f724b6ca1
when we were building LibC before libstdc++ headers were available in
the sysroot. However as noted in that commit, we never actually needed
to be building LibC before libstdc++, so we can go ahead and remove this
ancient hack.
This commit is contained in:
Andrew Kaster 2021-09-19 16:25:22 -06:00 committed by Brian Gianforcaro
parent 210b0b883b
commit da87497e61
3 changed files with 3 additions and 19 deletions

View file

@ -85,7 +85,7 @@ elseif ("${SERENITY_ARCH}" STREQUAL "x86_64")
set(CRTN_SOURCE "arch/x86_64/crtn.S")
endif()
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-unknown-warning-option -DSERENITY_LIBC_BUILD")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-unknown-warning-option")
add_library(crt0 STATIC crt0.cpp)
add_custom_command(