From 0b52f082263265ed4118ebc8cc2a9c80d920df5c Mon Sep 17 00:00:00 2001 From: michael Date: Sun, 8 Jan 2012 08:14:32 +0000 Subject: [PATCH 2/2] gcc warnings by Jonathan McCrohan git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@1167 3ae390bd-cb1e-0410-b409-cd5a39f66f1f --- Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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@ -- cgit v1.2.3