From 4ed981ac4833d81dd0a25e9e4006def581134f72 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= Date: Fri, 13 Aug 2021 09:46:45 +0700 Subject: [PATCH] icu: build static with -fPIC --- srcpkgs/icu/template | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/srcpkgs/icu/template b/srcpkgs/icu/template index a05d0a7d35a..2d5dea2ab02 100644 --- a/srcpkgs/icu/template +++ b/srcpkgs/icu/template @@ -3,7 +3,7 @@ # next soname bump. pkgname=icu version=69.1 -revision=1 +revision=2 wrksrc=icu build_wrksrc=source build_style=gnu-configure @@ -18,6 +18,9 @@ homepage="https://home.unicode.org/" distfiles="https://github.com/unicode-org/icu/releases/download/release-${version//./-}/icu4c-${version//./_}-src.tgz" checksum=4cba7b7acd1d3c42c44bb0c14be6637098c7faf2b330ce876bc5f3b915d09745 +CFLAGS=-fPIC +CXXFLAGS=-fPIC + if [ "$CROSS_BUILD" ]; then configure_args+=" --with-cross-build=${XBPS_BUILDDIR}/${wrksrc}/host-icu" fi