diff options
author | Oxore <oxore@protonmail.com> | 2023-03-09 02:13:58 +0300 |
---|---|---|
committer | Oxore <oxore@protonmail.com> | 2023-03-09 02:13:58 +0300 |
commit | e5d10780eff394af075c1e394605fb5c915b3688 (patch) | |
tree | dced9eb6ea331f776ab3531a716508db9909ec8c /CMakeLists.txt | |
parent | 34746d3783af1ae601487c88f0a7e44f81842618 (diff) |
Fix compilation with optimization on Gentoo
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index f952ce0..5d89e4e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -159,6 +159,10 @@ target_compile_options(${PROJECT_NAME} PRIVATE -Wcast-align -Wshadow -Wlogical-op + -Os + -fno-builtin-printf + -fno-builtin-fprintf + -fno-builtin-_exit ) target_link_options(${PROJECT_NAME} PRIVATE |