From 9affd855dcad47335836f3f1657edfed30fc2a6e Mon Sep 17 00:00:00 2001 From: Nikolay Igotti Date: Tue, 11 May 2021 20:38:02 +0300 Subject: [PATCH] Attempt to fix C++ ABI problem --- script/build.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script/build.py b/script/build.py index 3512bdc..91c2af7 100755 --- a/script/build.py +++ b/script/build.py @@ -50,7 +50,7 @@ def main(): args += [ # 'skia_enable_gpu=true', # 'skia_use_gl=true', - 'extra_cflags_cc=["-frtti"]', + 'extra_cflags_cc=["-frtti", "-D_GLIBCXX_USE_CXX11_ABI=0"]', 'cxx="g++-9"', ] elif 'windows' == system: