Package: listserialportsc / 1.4.0+repack-1

Metadata

Package Version Patches format
listserialportsc 1.4.0+repack-1 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
0001 Makefile Fix linkage in order to make as needed usab.patch | (download)

Makefile | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 makefile: fix linkage in order to make --as-needed usable

When using the --as-needed linker flag only libraries that are actually
used are linked into the final build product. With this flag enabled the
order of arguments passed to the linker matters, because input files
mentioned after the library on the command line are simply ignored. The
fix is to simply move LDFLAGS after the input files.

The flag is enabled by default on Ubuntu which causes the Arduino IDE to
fail with an undefined symbol error on start as reported in:
https://bugs.launchpad.net/ubuntu/+source/arduino/+bug/1916278