Skip to content

Commit c7e2e07

Browse files
committed
[do not merge] Tools: Testbench: No O3 for debugger
Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
1 parent 8e8caec commit c7e2e07

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/arch/host/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ if (supports_implicit_fallthrough)
1818
endif()
1919

2020
# C & ASM flags
21-
target_compile_options(sof_options INTERFACE -g -O3 -fPIC -DPIC -std=c99 -std=gnu99 -fgnu89-inline
21+
target_compile_options(sof_options INTERFACE -g -fPIC -DPIC -std=c99 -std=gnu99 -fgnu89-inline
2222
-Wall -Werror -Wmissing-prototypes ${implicit_fallthrough} -Wno-pointer-to-int-cast
2323
-Wno-int-to-pointer-cast -Wpointer-arith
2424
-DCONFIG_LIBRARY "-imacros${CONFIG_H_PATH}")

tools/testbench/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ if (supports_implicit_fallthrough)
5454
set(implicit_fallthrough -Wimplicit-fallthrough)
5555
endif()
5656

57-
target_compile_options(${testbench} PRIVATE -g -O3 -Wall -Werror -Wmissing-prototypes
57+
target_compile_options(${testbench} PRIVATE -g -Wall -Werror -Wmissing-prototypes
5858
${implicit_fallthrough} -DCONFIG_LIBRARY -DCONFIG_LIBRARY_STATIC -imacros${config_h})
5959

6060
target_link_libraries(${testbench} PRIVATE -lm)

0 commit comments

Comments
 (0)