mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-22 11:00:48 +03:00
Reduce memory usage when compiling slightly
This commit is contained in:
parent
b51ad45dc2
commit
e8d5829c1f
1 changed files with 3 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue