From b4cf4f3a0d06b24f656a55a15a6373f30813ed77 Mon Sep 17 00:00:00 2001 From: nick black Date: Sun, 12 Apr 2020 02:01:56 -0400 Subject: [PATCH] CMake: supply -fkeep-inline-functions for notcurses --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index ddda1dfe5..02ae5425f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -142,11 +142,11 @@ endif() target_compile_options(notcurses PRIVATE - -Wall -Wextra -W -Wshadow -Wformat ${DEBUG_OPTIONS} + -Wall -Wextra -W -Wshadow -Wformat -fkeep-inline-functions ${DEBUG_OPTIONS} ) target_compile_options(notcurses-static PRIVATE - -Wall -Wextra -W -Wshadow -Wformat ${DEBUG_OPTIONS} + -Wall -Wextra -W -Wshadow -Wformat -fkeep-inline-functions ${DEBUG_OPTIONS} ) target_compile_definitions(notcurses PUBLIC