Skip to content

Commit 3f92535

Browse files
authored
enable -flto
1 parent 1a5743a commit 3f92535

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tools/copy-libs.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,9 @@ LD_SCRIPT_DIRS=""
6565

6666
PIO_CC_FLAGS=""
6767
PIO_C_FLAGS=""
68-
PIO_CXX_FLAGS=""
68+
PIO_CXX_FLAGS="-flto=auto "
6969
PIO_AS_FLAGS=""
70-
PIO_LD_FLAGS=""
70+
PIO_LD_FLAGS="-flto "
7171
PIO_LD_FUNCS=""
7272
PIO_LD_SCRIPTS=""
7373

0 commit comments

Comments
 (0)