diff options
| author | jacqueline <me@jacqueline.id.au> | 2024-02-14 17:47:46 +1100 |
|---|---|---|
| committer | jacqueline <me@jacqueline.id.au> | 2024-02-14 17:47:46 +1100 |
| commit | 10770e0f5445bd39e5778a104fafd1788f9f62d7 (patch) | |
| tree | c6fcb7e04e7c0de9a0cb430637e85a17228266a0 | |
| parent | 4bc77f901b1597b7cbc9ab7f4e0e354a7c93ed43 (diff) | |
| download | tangara-fw-10770e0f5445bd39e5778a104fafd1788f9f62d7.tar.gz | |
Use -Ofast for all codecs that don't break with it
| -rw-r--r-- | lib/libmad/CMakeLists.txt | 1 | ||||
| -rw-r--r-- | lib/miniflac/CMakeLists.txt | 1 | ||||
| -rw-r--r-- | lib/tremor/CMakeLists.txt | 2 |
3 files changed, 3 insertions, 1 deletions
diff --git a/lib/libmad/CMakeLists.txt b/lib/libmad/CMakeLists.txt index a5e19394..e56cabaf 100644 --- a/lib/libmad/CMakeLists.txt +++ b/lib/libmad/CMakeLists.txt @@ -41,5 +41,6 @@ target_compile_options(${COMPONENT_LIB} $<$<C_COMPILER_ID:AppleClang,Clang,GNU>:-Wno-implicit-function-declaration> $<$<C_COMPILER_ID:AppleClang,Clang,GNU>:-Wno-stringop-overflow> $<$<C_COMPILER_ID:AppleClang,Clang,GNU>:-fPIC> + -Ofast ) diff --git a/lib/miniflac/CMakeLists.txt b/lib/miniflac/CMakeLists.txt index 68df4ca5..7ea6940f 100644 --- a/lib/miniflac/CMakeLists.txt +++ b/lib/miniflac/CMakeLists.txt @@ -2,3 +2,4 @@ # # SPDX-License-Identifier: GPL-3.0-only idf_component_register(SRCS miniflac.c INCLUDE_DIRS .) +target_compile_options("${COMPONENT_LIB}" PRIVATE -Ofast) diff --git a/lib/tremor/CMakeLists.txt b/lib/tremor/CMakeLists.txt index e44f9084..530c0493 100644 --- a/lib/tremor/CMakeLists.txt +++ b/lib/tremor/CMakeLists.txt @@ -5,4 +5,4 @@ idf_component_register( SRCS bitwise.c codebook.c dsp.c floor0.c floor1.c floor_lookup.c framing.c info.c mapping0.c mdct.c misc.c res012.c vorbisfile.c INCLUDE_DIRS ".") -target_compile_options("${COMPONENT_LIB}" PRIVATE -Wno-error=misleading-indentation -Wno-error=maybe-uninitialized -Wno-error=char-subscripts -Wno-error=unused-label) +target_compile_options("${COMPONENT_LIB}" PRIVATE -Ofast -Wno-error=misleading-indentation -Wno-error=maybe-uninitialized -Wno-error=char-subscripts -Wno-error=unused-label) |
