mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 11:57:35 +00:00
DynamicLoader: Remove -fbuilding-libgcc hack
This won't be necessary anymore after a toolchain rebuild.
This commit is contained in:
parent
43e46df561
commit
e8a25f3795
1 changed files with 1 additions and 2 deletions
|
@ -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})
|
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} -fno-rtti -nostdlib -pie -fpic -DNO_TLS")
|
||||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fbuilding-libgcc -fno-rtti -nostdlib -pie -fpic -DNO_TLS")
|
|
||||||
|
|
||||||
set_source_files_properties (../Libraries/LibC/ssp.cpp PROPERTIES COMPILE_FLAGS
|
set_source_files_properties (../Libraries/LibC/ssp.cpp PROPERTIES COMPILE_FLAGS
|
||||||
"-fno-stack-protector")
|
"-fno-stack-protector")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue