BLD handle gcc-arg-symbolic-functions (#1318)

This commit is contained in:
Paul m. p. P 2021-03-11 21:45:13 +01:00 committed by GitHub
parent 958724101a
commit 29639e0541
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions

View File

@ -310,6 +310,11 @@ def handle_command(line, args, dryrun=False):
if arg in used_libs: if arg in used_libs:
continue continue
used_libs.add(arg) 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 # threading is disabled for now
if arg == "-pthread": if arg == "-pthread":
continue continue