Skip to content

Commit

Permalink
od: valgrind: disable LTO
Browse files Browse the repository at this point in the history
Valgrind takes over an hour to link for gcw0.

A buildroot patch adding a valgrind-specific setting was rejected
upstream:
https://patchwork.ozlabs.org/project/buildroot/patch/[email protected]/

Until there is a better solution upstream, disable LTO
via a Makefile addition in
board/opendingux/package/valgrind/valgrind.mk

Signed-off-by: Gleb Mazovetskiy <[email protected]>
  • Loading branch information
glebm authored and pcercuei committed Nov 22, 2022
1 parent 8050d35 commit 652b659
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions board/opendingux/package/valgrind/valgrind.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Valgrind LTO takes over an hour to link for gcw0.
VALGRIND_CONF_OPTS += --disable-lto

0 comments on commit 652b659

Please sign in to comment.