From: Fabrice Fontaine Date: Sat, 12 Jan 2019 09:24:59 +0000 (+0100) Subject: sunxi-cedarx: needs -fPIC X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=838b9b6979496d297b1f6c64d9942cc3e9cfcef4;p=buildroot.git sunxi-cedarx: needs -fPIC Fixes: - http://autobuild.buildroot.org/results/c17062e1558f26c2db837883a0c33ef39dd031a2 Signed-off-by: Fabrice Fontaine Signed-off-by: Peter Korsgaard --- diff --git a/package/sunxi-cedarx/sunxi-cedarx.mk b/package/sunxi-cedarx/sunxi-cedarx.mk index 219f1bc74b..5b99f04181 100644 --- a/package/sunxi-cedarx/sunxi-cedarx.mk +++ b/package/sunxi-cedarx/sunxi-cedarx.mk @@ -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 \