From: michael Date: Sun, 8 Jan 2012 08:14:32 +0000 (+0000) Subject: [PATCH 2/2] gcc warnings by Jonathan McCrohan X-Git-Tag: svn1203~36 X-Git-Url: https://git.webhop.me/?a=commitdiff_plain;h=0b52f082263265ed4118ebc8cc2a9c80d920df5c;p=lcd4linux.git [PATCH 2/2] gcc warnings by Jonathan McCrohan git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@1167 3ae390bd-cb1e-0410-b409-cd5a39f66f1f --- 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@