wvstreams: Pass -fPIC to CFLAGS when building PIC objects
authorMarkos Chandras <markos.chandras@imgtec.com>
Thu, 20 Jun 2013 14:14:10 +0000 (15:14 +0100)
committerPeter Korsgaard <jacmet@sunsite.dk>
Thu, 20 Jun 2013 15:08:18 +0000 (17:08 +0200)
commit31d72937cf17e9e476e956986030e93f8fd2ce56
tree0c002308968b625461fcd6d41c0813181c8443ce
parentb4c20a0353acf0440ab6c8e9f6a5d765a61a585e
wvstreams: Pass -fPIC to CFLAGS when building PIC objects

The argp bundled dependency which is linked to the libwvutils.so
shared library, wasn't built with -fPIC.
MIPS will refuce to link a non-PIC library with a shared one.

We fix this problem by appending -fPIC to CFLAGS and build all the
shared objects with -fPIC.

[Peter: use +=]
Signed-off-by: Markos Chandras <markos.chandras@imgtec.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/wvstreams/wvstreams.mk