Skip to content

Commit

Permalink
scons: fix blake3 copy-paste error
Browse files Browse the repository at this point in the history
This was causing issues on platforms that don't support SSE2, such as
ARM.

Fixes sahib#547
  • Loading branch information
cebtenzzre committed Aug 12, 2022
1 parent 943a067 commit 3d3db81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/SConscript
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ if not env['HAVE_SSE4_1']:

if not env['HAVE_SSE2']:
print('Not compiling blake3 sse2 options')
blake3 = [f for f in blake3 if 'sse41' not in f.path]
blake3 = [f for f in blake3 if 'sse2' not in f.path]
env.Append(CCFLAGS=['-DBLAKE3_NO_SSE2'])

library = env.Library(
Expand Down

0 comments on commit 3d3db81

Please sign in to comment.