Skip to content

Commit

Permalink
msvc extension
Browse files Browse the repository at this point in the history
  • Loading branch information
wjblanke committed Jun 7, 2023
1 parent bef4553 commit 1853a8f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,8 +152,8 @@ class BuildExt(build_ext):
"""A custom build extension for adding compiler-specific options."""

c_opts = {
"msvc": ["/EHsc", "/std:c++17", "/DBLSALLOC_SODIUM=1", "/DSODIUM_STATIC", "/D__BLST_PORTABLE__"],
"unix": ["-fno-builtin","-fPIC","-Wall","-Wextra","-mno-avx","-D__BLST_PORTABLE__"],
"msvc": ["/EHsc", "/std:c++17", "/DBLSALLOC_SODIUM=1", "/DSODIUM_STATIC", "/D__BLST_PORTABLE__", "/Tcassembly.S"],
"unix": [],
}
l_opts = {
"msvc": [],
Expand Down

0 comments on commit 1853a8f

Please sign in to comment.