icu: CFLAGS/CXXFLAGS override -O, so specify one.

This commit is contained in:
Augustin Cavalier
2025-02-03 22:15:54 -05:00
parent 78598322d5
commit b1e636b0ad
2 changed files with 5 additions and 5 deletions

View File

@@ -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="5"
REVISION="6"
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"
@@ -146,8 +146,8 @@ BUILD()
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 CFLAGS="-O2 -fno-semantic-interposition"
export CXXFLAGS="-O2 -fno-semantic-interposition"
export LDFLAGS=-Wl,-Bsymbolic-functions
autoconf

View File

@@ -149,8 +149,8 @@ BUILD()
#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 CFLAGS="-O2 -fno-semantic-interposition"
export CXXFLAGS="-O2 -fno-semantic-interposition"
export LDFLAGS=-Wl,-Bsymbolic-functions
unzip -oq ../../../sources-2/icu4c-*-data.zip