diff options
| author | jacqueline <me@jacqueline.id.au> | 2023-09-04 09:51:38 +1000 |
|---|---|---|
| committer | jacqueline <me@jacqueline.id.au> | 2023-09-04 09:51:38 +1000 |
| commit | 25c2df57dd5024c26a396ddabd0391f90999dd7c (patch) | |
| tree | a40270bc71881c34d0e8db7a17bd918f9c853a60 | |
| parent | cccee29c3a6202a7c79bc9bc6d70287528a13ef0 (diff) | |
| download | tangara-fw-25c2df57dd5024c26a396ddabd0391f90999dd7c.tar.gz | |
Fix some release build warnings
| -rw-r--r-- | lib/opus/CMakeLists.txt | 1 | ||||
| -rw-r--r-- | lib/opusfile/CMakeLists.txt | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/lib/opus/CMakeLists.txt b/lib/opus/CMakeLists.txt index 9d824cdc..5c33c42d 100644 --- a/lib/opus/CMakeLists.txt +++ b/lib/opus/CMakeLists.txt @@ -356,6 +356,7 @@ if(OPUS_FIXED_POINT) add_sources_group(opus silk ${silk_sources_fixed}) target_include_directories(opus PRIVATE silk/fixed) target_compile_definitions(opus PRIVATE FIXED_POINT=1) + target_compile_options(opus PRIVATE -Wno-stringop-overflow) else() add_sources_group(opus silk ${silk_sources_float}) target_include_directories(opus PRIVATE silk/float) diff --git a/lib/opusfile/CMakeLists.txt b/lib/opusfile/CMakeLists.txt index f2c3776c..94d1af9e 100644 --- a/lib/opusfile/CMakeLists.txt +++ b/lib/opusfile/CMakeLists.txt @@ -5,7 +5,7 @@ idf_component_register( SRCS src/info.c src/internal.c src/internal.h src/opusfile.c src/stream.c INCLUDE_DIRS "include" REQUIRES "ogg") -target_compile_options("${COMPONENT_LIB}" PRIVATE "-DOP_FIXED_POINT") +target_compile_options("${COMPONENT_LIB}" PRIVATE "-DOP_FIXED_POINT" "-Wno-maybe-uninitialized") set(CMAKE_POLICY_DEFAULT_CMP0077 NEW) |
