blob: 7cf3826ba7a33dacae2aba8eafd69f3207bfae5d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
if [ "$CARCH" = 'i486' ]; then
# these atomics are unavailable on i486, but that is not detected (?)
eval "$(
declare -f prepare | \
sed '
/^}$/ i \
sed -i '"'"' \
/#define BROKEN_64BIT_ATOMICS_INTRINSIC 1/ { \
N \
s/\\(.*\\)\\n\\s*#endif/#endif\\n\\1/ \
} \
'"'"' mono/utils/atomic.h
'
)"
fi
|