diff --git a/dev-libs/icu/icu74-74.1.recipe b/dev-libs/icu/icu74-74.1.recipe index 52247a831..1f02a9546 100644 --- a/dev-libs/icu/icu74-74.1.recipe +++ b/dev-libs/icu/icu74-74.1.recipe @@ -41,7 +41,7 @@ wrapping when displaying the text." HOMEPAGE="http://www.icu-project.org" COPYRIGHT="1995-2020 IBM Corporation and others." LICENSE="ICU" -REVISION="3" +REVISION="4" SOURCE_URI="https://github.com/unicode-org/icu/releases/download/release-${portVersion/\./-}/icu4c-${portVersion/\./_}-src.tgz" CHECKSUM_SHA256="86ce8e60681972e60e4dcb2490c697463fcec60dd400a5f9bffba26d0b52b8d0" SOURCE_URI_2="https://github.com/unicode-org/icu/releases/download/release-${portVersion/\./-}/icu4c-${portVersion/\./_}-data.zip#noarchive" @@ -49,7 +49,7 @@ CHECKSUM_SHA256_2="67d5ab39c5187e1dd0fed60a3fe52794dce9784b4c045cb85e19f5d317fd7 SOURCE_DIR="icu" PATCHES="icu74-$portVersion.patchset" -ARCHITECTURES="?all !x86_gcc2 ?arm ?sparc ?arm64 ppc ?riscv64 x86_64" +ARCHITECTURES="all !x86_gcc2" SECONDARY_ARCHITECTURES="x86" PROVIDES=" @@ -144,6 +144,12 @@ BUILD() unzip -oq ../../../sources-2/icu4c-*-data.zip rm -f data/in/icudt??l.dat + + # optimize & make symbol lookups faster (and prevent symbols being overridden) + export CCFLAGS=-fno-semantic-interposition + export CXXFLAGS=-fno-semantic-interposition + export LDFLAGS=-Wl,-Bsymbolic-functions + autoconf runConfigure ./configure \ --disable-samples --disable-extras --with-data-packaging=archive diff --git a/dev-libs/icu/icu75-75.1.recipe b/dev-libs/icu/icu75-75.1.recipe index 459b4e9b3..18c9ec7cd 100644 --- a/dev-libs/icu/icu75-75.1.recipe +++ b/dev-libs/icu/icu75-75.1.recipe @@ -49,7 +49,7 @@ CHECKSUM_SHA256_2="a5104212dc317a64f9b035723ea706f2f4fd5a0f37b7923fae7aeb9d1d006 SOURCE_DIR="icu" PATCHES="icu75-$portVersion.patchset" -ARCHITECTURES="?all !x86_gcc2 ?arm ?sparc ?arm64 ?riscv64 x86_64" +ARCHITECTURES="?all !x86_gcc2" SECONDARY_ARCHITECTURES="x86" libVersion="$portVersion" @@ -148,8 +148,14 @@ BUILD() #rm -rf tools/tzcode/vanguard #cp ../../../sources-3/tzdata*.tar.gz tools/tzcode/ + # optimize & make symbol lookups faster (and prevent symbols being overridden) + export CCFLAGS=-fno-semantic-interposition + export CXXFLAGS=-fno-semantic-interposition + export LDFLAGS=-Wl,-Bsymbolic-functions + unzip -oq ../../../sources-2/icu4c-*-data.zip rm -f data/in/icudt??l.dat + autoconf runConfigure ./configure \ --disable-samples --disable-extras --with-data-packaging=archive