mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
fontconfig: ensure we use '-O2' instead '-O3' optimization, to prevent problems compiling x86_64 builds
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
9f77291e10
commit
b0d211c38a
@ -7,6 +7,10 @@ $SCRIPTS/build freetype
|
||||
$SCRIPTS/build libxml2
|
||||
$SCRIPTS/build zlib
|
||||
|
||||
# ensure we dont use '-O3' optimization.
|
||||
CFLAGS=`echo $CFLAGS | sed -e "s|-O3|-O2|"`
|
||||
CXXFLAGS=`echo $CXXFLAGS | sed -e "s|-O3|-O2|"`
|
||||
|
||||
cd $PKG_BUILD
|
||||
./configure --host=$TARGET_NAME \
|
||||
--build=$HOST_NAME \
|
||||
|
Loading…
x
Reference in New Issue
Block a user