Skip to content

Commit

Permalink
fixup __getauxval 4
Browse files Browse the repository at this point in the history
  • Loading branch information
thehajime committed Jul 10, 2024
1 parent 419d880 commit 33a41f3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,9 @@ case ${TARGET} in
OS=linux
export HOST_CFLAGS="-fcommon"
EXTRA_CFLAGS+=" -fcommon"
if [[ ${TARGET} =~ "aarch64-*" ]] ; then
EXTRA_CFLAGS="-mno-outline-atomics"
fi
;;
*-netbsd*)
OS=netbsd
Expand All @@ -69,9 +72,6 @@ case ${TARGET} in
export HOST_CFLAGS="-Wno-error-implicit-function-declaration"
EXTRA_AFLAGS="-mmacosx-version-min=10.7.0"
;;
aarch64-linux*)
EXTRA_CFLAGS="-mno-outline-atomics"
;;
*)
OS=unknown
esac
Expand Down

0 comments on commit 33a41f3

Please sign in to comment.