aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Fabrice Fontaine <fontaine.fabrice@gmail.com>2019-01-12 10:24:59 +0100
committerGravatar Peter Korsgaard <peter@korsgaard.com>2019-01-16 13:09:21 +0100
commit838b9b6979496d297b1f6c64d9942cc3e9cfcef4 (patch)
tree124766a21cab2711425d37b5eb5732756ec87e12
parent582ceee3f1ed550125b51b8d2ebb242caa09ac68 (diff)
downloadbuildroot-838b9b6979496d297b1f6c64d9942cc3e9cfcef4.tar.gz
buildroot-838b9b6979496d297b1f6c64d9942cc3e9cfcef4.tar.bz2
sunxi-cedarx: needs -fPIC
Fixes: - http://autobuild.buildroot.org/results/c17062e1558f26c2db837883a0c33ef39dd031a2 Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
-rw-r--r--package/sunxi-cedarx/sunxi-cedarx.mk2
1 files changed, 1 insertions, 1 deletions
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 \