Merge pull request #29600 from neovim/backport-29599-to-release-0.10

build: remove -O2 from gen_cflags
This commit is contained in:
zeertzjq
2024-07-08 06:14:55 +08:00
committed by GitHub

View File

@@ -477,7 +477,6 @@ endif()
if(MSVC)
list(APPEND gen_cflags -wd4003)
endif()
list(APPEND gen_cflags -O2)
set(NVIM_VERSION_GIT_H ${PROJECT_BINARY_DIR}/cmake.config/auto/versiondef_git.h)
add_custom_target(update_version_stamp