BuildSystem: Use -O2 for all libraries

I don't know why I had not specified optimization level for libraries.
Only LibImage was using explicit -O3. LibImage doesn't need O3 anymore
as O2 seems to be around the same speed.
This commit is contained in:
2024-09-20 20:04:49 +03:00
parent 23d6205659
commit 1280528e4e
2 changed files with 2 additions and 1 deletions

View File

@@ -5,7 +5,6 @@ set(LIBIMAGE_SOURCES
)
add_library(libimage ${LIBIMAGE_SOURCES})
target_compile_options(libimage PRIVATE -O3)
banan_link_library(libimage libc)
banan_link_library(libimage ban)