Need -msse4.2 on non-native builds

This commit is contained in:
Kovid Goyal
2023-11-10 12:06:46 +05:30
parent e3d6aa2c60
commit 4f67b8b433

View File

@@ -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: