Skip to content

Commit

Permalink
build.sh: make it work on OpenBSD.
Browse files Browse the repository at this point in the history
  • Loading branch information
dot-asm committed Sep 18, 2024
1 parent cf75400 commit 9d44a1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ fi
if echo ${predefs} | grep -q __AVX__; then
cflags="$cflags -mno-avx" # avoid costly transitions
fi
if echo ${predefs} | grep -q 'x86_64\|aarch64'; then :; else
if echo ${predefs} | grep -E -q 'x86_64|aarch64'; then :; else
cflags="$cflags -D__BLST_NO_ASM__"
fi

Expand Down

0 comments on commit 9d44a1c

Please sign in to comment.