We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7f9b3b7 commit 08112b0Copy full SHA for 08112b0
main/CMakeLists.txt
@@ -2,4 +2,8 @@
2
set(CMAKE_AR ${_CMAKE_TOOLCHAIN_PREFIX}gcc-ar)
3
set(CMAKE_RANLIB ${_CMAKE_TOOLCHAIN_PREFIX}gcc-ranlib)
4
5
+list(APPEND compile_options "-ffat-lto-objects"
6
+ "-flto-compression-level=9"
7
+ "-flto=auto")
8
+
9
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