Skip to content

Commit

Permalink
added LIBMEM_ARCH to build-release
Browse files Browse the repository at this point in the history
  • Loading branch information
rdbo committed Apr 12, 2024
1 parent a3a7439 commit 2db0df4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/build-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -186,8 +186,8 @@ function do_build() {
*)
local flags
case "$_TARGET" in
i686-*) flags='-m32 -march=prescott' ;;
x86_64-*) flags='-march=westmere' ;;
i686-*) flags='-m32 -march=prescott'; variant_conf+=(-D LIBMEM_ARCH="i686") ;;
x86_64-*) flags='-march=westmere'; variant_conf+=(-D LIBMEM_ARCH="x86_64") ;;
aarch64-*) flags='-march=armv8-a' ;;
esac
variant_conf+=(-G 'Unix Makefiles' -DCMAKE_C_FLAGS="$flags" -DCMAKE_CXX_FLAGS="$flags")
Expand Down

0 comments on commit 2db0df4

Please sign in to comment.