Skip to content

Commit c6c7dc6

Browse files
authored
Update CMakeLists.txt
1 parent 069fcfe commit c6c7dc6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
set(CMAKE_AR ${_CMAKE_TOOLCHAIN_PREFIX}gcc-ar)
33
set(CMAKE_RANLIB ${_CMAKE_TOOLCHAIN_PREFIX}gcc-ranlib)
44

5-
list(APPEND compile_options "-ffat-lto-objects" "-flto-compression-level=9" "-flto=auto" "-malign-data=natural")
5+
list(APPEND compile_options "-ffat-lto-objects -flto-compression-level=9 -flto=auto -malign-data=natural")
66
list(APPEND CMAKE_EXE_LINKER_FLAGS "-flto -fuse-linker-plugin -ffat-lto-objects -flto-partition=max")
77

88
idf_component_register(SRCS "sketch.cpp" "arduino-lib-builder-gcc.c" "arduino-lib-builder-cpp.cpp" "arduino-lib-builder-as.S" INCLUDE_DIRS ".")

0 commit comments

Comments
 (0)