Reduce memory usage when compiling slightly

This commit is contained in:
Nicolas Werner 2022-08-15 20:03:45 +02:00
parent b51ad45dc2
commit e8d5829c1f
No known key found for this signature in database
GPG key ID: C8D75E610773F2D9

View file

@ -266,7 +266,6 @@ if(NOT MSVC)
"${CMAKE_CXX_FLAGS} \
-Wall \
-Wextra \
-pipe \
-pedantic \
-fsized-deallocation \
-fdiagnostics-color=always \
@ -750,6 +749,9 @@ if(NOT MSVC AND NOT HAIKU)
target_compile_options(nheko PRIVATE "-Werror")
endif()
endif()
#if(NOT MSVC)
# target_link_options(nheko PRIVATE "LINKER:,--gc-sections")
#endif()
if(MAN)
add_subdirectory(man)