diff options
Diffstat (limited to 'Userland/DynamicLoader/CMakeLists.txt')
-rw-r--r-- | Userland/DynamicLoader/CMakeLists.txt | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/Userland/DynamicLoader/CMakeLists.txt b/Userland/DynamicLoader/CMakeLists.txt index f870efe9ca..e96b2b4ef4 100644 --- a/Userland/DynamicLoader/CMakeLists.txt +++ b/Userland/DynamicLoader/CMakeLists.txt @@ -5,11 +5,11 @@ set(LOADER_SOURCES ) file(GLOB AK_SOURCES "../../AK/*.cpp") -file(GLOB ELF_SOURCES "../../Libraries/LibELF/*.cpp") -set(ELF_SOURCES ${ELF_SOURCES} ../../Libraries/LibELF/Arch/i386/plt_trampoline.S) -file(GLOB LIBC_SOURCES1 "../../Libraries/LibC/*.cpp") -file(GLOB LIBC_SOURCES2 "../../Libraries/LibC/*/*.cpp") -file(GLOB LIBC_SOURCES3 "../../Libraries/LibC/*.S") +file(GLOB ELF_SOURCES "../Libraries/LibELF/*.cpp") +set(ELF_SOURCES ${ELF_SOURCES} ../Libraries/LibELF/Arch/i386/plt_trampoline.S) +file(GLOB LIBC_SOURCES1 "../Libraries/LibC/*.cpp") +file(GLOB LIBC_SOURCES2 "../Libraries/LibC/*/*.cpp") +file(GLOB LIBC_SOURCES3 "../Libraries/LibC/*.S") list(FILTER LIBC_SOURCES1 EXCLUDE REGEX ".+crt0.cpp") list(FILTER LIBC_SOURCES1 EXCLUDE REGEX ".+crt0.+.cpp") @@ -18,7 +18,7 @@ set(SOURCES ${LOADER_SOURCES} ${AK_SOURCES} ${ELF_SOURCES} ${LIBC_SOURCES1} ${LI 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 +set_source_files_properties (../Libraries/LibC/ssp.cpp PROPERTIES COMPILE_FLAGS "-fno-stack-protector") add_executable(Loader.so ${SOURCES}) |