]> git.webhop.me Git - lcd4linux.git/commitdiff
[PATCH 2/2] gcc warnings by Jonathan McCrohan
authormichael <michael@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>
Sun, 8 Jan 2012 08:14:32 +0000 (08:14 +0000)
committermichael <michael@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>
Sun, 8 Jan 2012 08:14:32 +0000 (08:14 +0000)
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@1167 3ae390bd-cb1e-0410-b409-cd5a39f66f1f

Makefile.am

index bdf6b415a7f1ca8dfa9f38689254400c274077eb..cd7d5b4ff3ef87b57ff202b67b59cc548f9cbde5 100644 (file)
@@ -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@