Skip to content

Commit

Permalink
build: Remove -finline-functions flag
Browse files Browse the repository at this point in the history
  • Loading branch information
entriphy committed Jul 9, 2023
1 parent 9f7debf commit e8a5f15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ add_dependencies(${PROJECT_NAME} PS2_CRT0 kl2_irx)
set(CMAKE_EXECUTABLE_SUFFIX ".elf")
target_compile_options(${PROJECT_NAME} PUBLIC
$<$<COMPILE_LANGUAGE:C>:-O1 -gstabs>
$<$<COMPILE_LANGUAGE:CXX>:-O2 -gstabs -finline-functions -fno-exceptions>
$<$<COMPILE_LANGUAGE:CXX>:-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)
Expand Down

0 comments on commit e8a5f15

Please sign in to comment.