Need -msse4.2 on non-native builds
This commit is contained in:
parent
e3d6aa2c60
commit
4f67b8b433
1 changed files with 2 additions and 0 deletions
2
setup.py
2
setup.py
|
|
@ -491,6 +491,8 @@ def init_env(
|
|||
cflags.append('-g3')
|
||||
ldflags.append('-lprofiler')
|
||||
|
||||
if not native_optimizations:
|
||||
cflags.append('-msse4.2')
|
||||
library_paths: Dict[str, List[str]] = {}
|
||||
|
||||
def add_lpath(which: str, name: str, val: Optional[str]) -> None:
|
||||
|
|
|
|||
Loading…
Reference in a new issue