Use -Ofast for all codecs that don't break with it
This commit is contained in:
@@ -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
|
||||
)
|
||||
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user