]> sigrok.org Git - libsigrok.git/commitdiff
Fix link errors when compiling with LTO enabled
authorStefan Brüns <redacted>
Sat, 14 Sep 2019 20:13:13 +0000 (22:13 +0200)
committerUwe Hermann <redacted>
Sun, 6 Oct 2019 22:13:13 +0000 (00:13 +0200)
When libsigrok is compiled with link-time-optimization, the linker
stumbles over the section named the same as the function. Whether this
is a compiler/linker bug or a coding error is unknown.

Renaming the special section (to the same as already used on OS X) avoids
the problem.

This fixes bug #1416.


No differences found