Updated setup.py

This commit is contained in:
Mark Qvist 2026-08-28 00:09:16 +02:00
parent fa07c8c87c
commit dc9cf0c2f4
No known key found for this signature in database

View file

@ -85,8 +85,7 @@ if native_build:
from setuptools import Extension
from Cython.Build import cythonize
# native_opt = os.environ.get("RNS_NATIVE_OPT", "-O3")
native_opt = os.environ.get("RNS_NATIVE_OPT", "-Os")
native_opt = os.environ.get("RNS_NATIVE_OPT", "-O3")
if sys.platform == "win32": native_cargs = []
else: native_cargs = [native_opt, "-g0", "-fno-lto"]