From 29639e054123bcffa5906b96fd56ab72cd24e3cd Mon Sep 17 00:00:00 2001 From: "Paul m. p. P" Date: Thu, 11 Mar 2021 21:45:13 +0100 Subject: [PATCH] BLD handle gcc-arg-symbolic-functions (#1318) --- pyodide_build/pywasmcross.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pyodide_build/pywasmcross.py b/pyodide_build/pywasmcross.py index 561d3f738..bf3996340 100755 --- a/pyodide_build/pywasmcross.py +++ b/pyodide_build/pywasmcross.py @@ -310,6 +310,11 @@ def handle_command(line, args, dryrun=False): if arg in used_libs: continue used_libs.add(arg) + # some gcc flags that clang does not support actually + if arg == "-Bsymbolic-functions": + continue + if arg == "-Wl,-Bsymbolic-functions": + continue # threading is disabled for now if arg == "-pthread": continue