Skip to content

Commit

Permalink
Opt-in to C11 on linux as well; _Atomic comes with that.
Browse files Browse the repository at this point in the history
  • Loading branch information
jamadden committed Sep 6, 2023
1 parent 3ad3196 commit ebc6a99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup.py
Expand Up @@ -64,7 +64,7 @@
global_compile_args.append("-Os")


if sys.platform == 'darwin' or 'clang' in plat_compiler:
if sys.platform == 'darwin' or 'clang' in plat_compiler or is_linux:
# The clang compiler doesn't use --std=c++11 by default
cpp_compile_args.append("--std=gnu++11")
elif is_win and "MSC" in plat_compiler:
Expand Down

0 comments on commit ebc6a99

Please sign in to comment.