Skip to content

Commit

Permalink
try compiling with _WANT_SNAN for issignaling
Browse files Browse the repository at this point in the history
  • Loading branch information
minrk committed Nov 26, 2021
1 parent 55c0639 commit 02a3e4a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion recipe/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ if [[ "$CONDA_BUILD_CROSS_COMPILATION" == "1" ]]; then
;;
ppc64le)
DEST_ARCH=ppc64
# define _WANT_SNAN for issignaling()
export CPPFLAGS="$CPPFLAGS -D_WANT_SNAN"
;;
*)
echo "unknown architecture for cross"
Expand All @@ -49,7 +51,7 @@ if [[ "$CONDA_BUILD_CROSS_COMPILATION" == "1" ]]; then
exit 1
;;
esac

EXTRA_ARGS="--cross-compiling --dest-os=$DEST_OS --dest-cpu=$DEST_ARCH"
fi

Expand Down

0 comments on commit 02a3e4a

Please sign in to comment.