From da87497e61a8070250b45ae7622cdc998c34202e Mon Sep 17 00:00:00 2001 From: Andrew Kaster Date: Sun, 19 Sep 2021 16:25:22 -0600 Subject: AK+LibC: Remove SERENITY_LIBC_BUILD guard around `` This was required before commit 5f724b6ca1aae3a5a8c7189069649e8a9347cca2 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. --- Userland/Libraries/LibC/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Userland') diff --git a/Userland/Libraries/LibC/CMakeLists.txt b/Userland/Libraries/LibC/CMakeLists.txt index 98b31ba227..aab4d8aa9b 100644 --- a/Userland/Libraries/LibC/CMakeLists.txt +++ b/Userland/Libraries/LibC/CMakeLists.txt @@ -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( -- cgit v1.2.3