compile in c99 mode due to raqm

This commit is contained in:
nulano 2021-01-02 16:56:48 +01:00
parent 5fa0403b3b
commit 1794fcad90

View File

@ -104,6 +104,9 @@ function pre_build {
function pip_wheel_cmd { function pip_wheel_cmd {
local abs_wheelhouse=$1 local abs_wheelhouse=$1
if [ -z "$IS_OSX" ]; then
CFLAGS="$CFLAGS --std=c99" # for Raqm
fi
pip wheel $(pip_opts) \ pip wheel $(pip_opts) \
--global-option build_ext --global-option --enable-raqm \ --global-option build_ext --global-option --enable-raqm \
--global-option --vendor-raqm --global-option --vendor-fribidi \ --global-option --vendor-raqm --global-option --vendor-fribidi \