From: Jonathan M. <jmc...@gm...> - 2012-01-04 22:54:10
|
Hi Michael, Attached are two small patches which I believe fix the gcc warnings and issues listed on the Debian buildd logs page [1]. Thanks, Jon [1] https://buildd.debian.org/~brlink/packages/l/lcd4linux.html Signed-off by: Jonathan McCrohan <jmc...@gm...> diff --git a/Makefile.am b/Makefile.am index bdf6b41..cd7d5b4 100644 --- a/Makefile.am +++ b/Makefile.am @@ -18,7 +18,7 @@ ACLOCAL_AMFLAGS=-I m4 # use this for lots of warnings #AM_CFLAGS = -D_GNU_SOURCE -std=c99 -m64 -Wall -W -pedantic -Wno-variadic-macros -fno-strict-aliasing -lcd4linux_LDFLAGS = +lcd4linux_LDFLAGS ="-Wl,--as-needed" lcd4linux_LDADD = @DRIVERS@ @PLUGINS@ @DRVLIBS@ @PLUGINLIBS@ lcd4linux_DEPENDENCIES = @DRIVERS@ @PLUGINS@ |