092fcf0b27
It causes build error if a graphical driver is selected: drv.o:(.got+0x0): multiple definition of `_GLOBAL_OFFSET_TABLE_' collect2: ld returned 1 exit status make[5]: *** [lcd4linux] Error 1 git-svn-id: svn://svn.openwrt.org/openwrt/packages@33134 3c298f89-4303-0410-b956-a3cf2f4a3e73
12 lines
386 B
Diff
12 lines
386 B
Diff
--- 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 ="-Wl,--as-needed"
|
|
+lcd4linux_LDFLAGS =
|
|
lcd4linux_LDADD = @DRIVERS@ @PLUGINS@ @DRVLIBS@ @PLUGINLIBS@
|
|
lcd4linux_DEPENDENCIES = @DRIVERS@ @PLUGINS@
|
|
|