DynamicLoader: Remove -fbuilding-libgcc hack

This won't be necessary anymore after a toolchain rebuild.
This commit is contained in:
Gunnar Beutner 2021-05-08 22:46:43 +02:00 committed by Andreas Kling
commit e8a25f3795
Notes: sideshowbarker 2024-07-18 10:32:09 +09:00

View file

@ -26,8 +26,7 @@ add_definitions(-D_DYNAMIC_LOADER)
set(SOURCES ${LOADER_SOURCES} ${AK_SOURCES} ${ELF_SOURCES} ${LIBC_SOURCES1} ${LIBC_SOURCES2} ${LIBC_SOURCES3} ${LIBSYSTEM_SOURCES})
# FIXME: Remove -fbuilding-libgcc after the next toolchain update
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fbuilding-libgcc -fno-rtti -nostdlib -pie -fpic -DNO_TLS")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fno-rtti -nostdlib -pie -fpic -DNO_TLS")
set_source_files_properties (../Libraries/LibC/ssp.cpp PROPERTIES COMPILE_FLAGS
"-fno-stack-protector")