binutils: fix static linking
authorPeter Korsgaard <peter@korsgaard.com>
Wed, 27 Nov 2013 21:29:05 +0000 (22:29 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Wed, 27 Nov 2013 21:29:05 +0000 (22:29 +0100)
commita6fa695639b06b475565980e0c99f9f261786e81
treef4d879465f6242e0fb845ca54a229f6526405fcc
parent7ea26acd3d22a1614c2d3233746d792ccaee96f0
binutils: fix static linking

pkg-autotools.mk already handles static/shared linking, so no need to
explictly force it. Worse even, the build fails with BR2_PREFER_STATIC_LINK
as we end up calling libtool with --static when it tries to link the .so,
breaking the build:

../ld: attempted static link of dynamic object
`../opcodes/.libs/libopcodes.so'
collect2: error: ld returned 1 exit status

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/binutils/binutils.mk