packages/lcd4linux: don't use --as-needed LD flag
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
This commit is contained in:
parent
f5cb7e5c1e
commit
092fcf0b27
@ -0,0 +1,11 @@
|
||||
--- 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@
|
||||
|
Loading…
x
Reference in New Issue
Block a user