From 1794fcad90caf7f449a5aca8fbf717e3aa010444 Mon Sep 17 00:00:00 2001 From: nulano Date: Sat, 2 Jan 2021 16:56:48 +0100 Subject: [PATCH] compile in c99 mode due to raqm --- config.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/config.sh b/config.sh index dcd3dfc75..b0ce57bd1 100644 --- a/config.sh +++ b/config.sh @@ -104,6 +104,9 @@ function pre_build { function pip_wheel_cmd { local abs_wheelhouse=$1 + if [ -z "$IS_OSX" ]; then + CFLAGS="$CFLAGS --std=c99" # for Raqm + fi pip wheel $(pip_opts) \ --global-option build_ext --global-option --enable-raqm \ --global-option --vendor-raqm --global-option --vendor-fribidi \