Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

i686 build fixes #380

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ taisei_c_args = cc.get_supported_arguments(taisei_c_args)

foreach arglist : [
taisei_conversion_c_args,
['-msse', '-mfpmath=sse'],
['-msse2', '-mfpmath=sse'],
]
if cc.has_multi_arguments(arglist)
taisei_c_args += arglist
Expand Down
6 changes: 3 additions & 3 deletions scripts/pack.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,12 +104,12 @@ def log_file(path, arcname, comp_type=None):
def pack(args):
nocompress_file = args.directory / '.nocompress'

if 1:
if sys.maxsize > 2**32:
comp_type = ZIP_ZSTANDARD
comp_level = 20
else:
comp_type = ZIP_DEFLATED
comp_level = 9
comp_type = ZIP_ZSTANDARD
comp_level = 19

try:
nocompress = list(map(re.compile, filter(None, nocompress_file.read_text().strip().split('\n'))))
Expand Down