blob: 6c8ed3c2ec3d11b0f49fbda791107a1db30ca38c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
if [ "$CARCH" = 'pentium4' ]; then
eval "$(
declare -f build | \
sed '
s@cmake@cmake -DALSOFT_CPUEXT_SSE3=0 -DALSOFT_CPUEXT_SSE4_1=0@
'
)"
elif [ "$CARCH" = 'i686' ]; then
eval "$(
declare -f build | \
sed '
s@cmake@cmake -DALSOFT_ENABLE_SSE2_CODEGEN=0 -DALSOFT_CPUEXT_SSE2=0@
'
)"
elif [ "$CARCH" = 'i486' ]; then
eval "$(
declare -f build | \
sed '
s@cmake@cmake -DALSOFT_CPUEXT_SSE=0 -DALSOFT_ENABLE_SSE_CODEGEN=0 -DALSOFT_ENABLE_SSE2_CODEGEN=0@
'
)"
fi
|