Skip to content

Commit

Permalink
Fix builds for non-x86 architectures
Browse files Browse the repository at this point in the history
  • Loading branch information
Earlopain committed Nov 2, 2023
1 parent da5551d commit d15a4c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ set(IQDB_RELEASE_CFLAGS
# https://gcc.gnu.org/onlinedocs/gcc/Optimize-Options.html
# https://gcc.gnu.org/onlinedocs/gcc/x86-Options.html
# https://funroll-loops.oya.to/
-Wall -O3 -g3 -pipe -DNDEBUG -flto -fno-strict-aliasing -march=x86-64
-Wall -O3 -g3 -pipe -DNDEBUG -flto -fno-strict-aliasing -march=native
)

target_compile_options(iqdb PRIVATE $<$<CONFIG:DEBUG>:${IQDB_DEBUG_CFLAGS}>)
Expand Down

0 comments on commit d15a4c9

Please sign in to comment.