icu: build static with -fPIC
This commit is contained in:
parent
8f4f955bfa
commit
4ed981ac48
1 changed files with 4 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue