Skip to content

Commit 4edf5ce

Browse files
authored
Update CMakeLists.txt
1 parent 735e7f0 commit 4edf5ce

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

main/CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,5 @@
1+
# Compare to "ar" and "ranlib", "gcc-ar" and "gcc-ranlib" integrate GCC LTO plugin
2+
set(CMAKE_AR ${_CMAKE_TOOLCHAIN_PREFIX}gcc-ar)
3+
set(CMAKE_RANLIB ${_CMAKE_TOOLCHAIN_PREFIX}gcc-ranlib)
4+
15
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)