Reduce memory usage when compiling slightly
This commit is contained in:
parent
b51ad45dc2
commit
e8d5829c1f
@ -266,7 +266,6 @@ if(NOT MSVC)
|
|||||||
"${CMAKE_CXX_FLAGS} \
|
"${CMAKE_CXX_FLAGS} \
|
||||||
-Wall \
|
-Wall \
|
||||||
-Wextra \
|
-Wextra \
|
||||||
-pipe \
|
|
||||||
-pedantic \
|
-pedantic \
|
||||||
-fsized-deallocation \
|
-fsized-deallocation \
|
||||||
-fdiagnostics-color=always \
|
-fdiagnostics-color=always \
|
||||||
@ -750,6 +749,9 @@ if(NOT MSVC AND NOT HAIKU)
|
|||||||
target_compile_options(nheko PRIVATE "-Werror")
|
target_compile_options(nheko PRIVATE "-Werror")
|
||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
#if(NOT MSVC)
|
||||||
|
# target_link_options(nheko PRIVATE "LINKER:,--gc-sections")
|
||||||
|
#endif()
|
||||||
|
|
||||||
if(MAN)
|
if(MAN)
|
||||||
add_subdirectory(man)
|
add_subdirectory(man)
|
||||||
|
Loading…
Reference in New Issue
Block a user