From e8a5f156053433c1c617988dd22ca57e1289d656 Mon Sep 17 00:00:00 2001 From: entriphy <1747088+entriphy@users.noreply.github.com> Date: Sat, 8 Jul 2023 21:52:19 -0700 Subject: [PATCH] build: Remove -finline-functions flag --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index f7c0ee6..1dae763 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -41,7 +41,7 @@ add_dependencies(${PROJECT_NAME} PS2_CRT0 kl2_irx) set(CMAKE_EXECUTABLE_SUFFIX ".elf") target_compile_options(${PROJECT_NAME} PUBLIC $<$:-O1 -gstabs> - $<$:-O2 -gstabs -finline-functions -fno-exceptions> + $<$:-O2 -gstabs -fno-exceptions> ) target_compile_definitions(${PROJECT_NAME} PUBLIC SCE) target_link_options(${PROJECT_NAME} PUBLIC -T${SCESDK}/ee/lib/app.cmd -Wall -Werror -Wa,-al -fno-common -mno-crt0)