sunxi-cedarx: needs -fPIC
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Sat, 12 Jan 2019 09:24:59 +0000 (10:24 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Wed, 16 Jan 2019 12:09:21 +0000 (13:09 +0100)
Fixes:
 - http://autobuild.buildroot.org/results/c17062e1558f26c2db837883a0c33ef39dd031a2

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/sunxi-cedarx/sunxi-cedarx.mk

index 219f1bc74b86eeac5b6770fe911a6e615a459625..5b99f04181a2b42d77d0ac684f3f7092cfc6fbc2 100644 (file)
@@ -19,7 +19,7 @@ SUNXI_CEDARX_BIN_DIR = $(@D)/libcedarv/linux-armel2
 endif
 
 define SUNXI_CEDARX_BUILD_AVHEAP
-       $(TARGET_CC) $(TARGET_CFLAGS) \
+       $(TARGET_CC) $(TARGET_CFLAGS) -fPIC \
                -c $(SUNXI_CEDARX_BIN_DIR)/adapter/avheap/avheap.c \
                -o $(SUNXI_CEDARX_BIN_DIR)/adapter/avheap/avheap.o \
                -I $(SUNXI_CEDARX_BIN_DIR)/adapter/avheap \