profiles: disable sse2 from CPU_FLAGS_X86 for rsync

Since rsync 3.2.0, the ebuild sets `--enable-simd` option in case of
amd64. However, the cross toolchain in Flatcar SDK is not able to deal
with the SIMD feature, so configure in rsync fails like:

```
gcc version 8.3.0 (Gentoo Hardened 8.3.0-r1 p1.1)
configure.sh:3774: $? = 0
configure.sh:3763: x86_64-cros-linux-gnu-g++ -V >&5
x86_64-cros-linux-gnu-g++: error: unrecognized command line option '-V'
x86_64-cros-linux-gnu-g++: fatal error: no input files
compilation terminated.
```

Until we could resolve the toolchain issue, we should disable
`cpu_flags_x86_sse2`, to disable simd for rsync.
This commit is contained in:
Dongsu Park 2020-09-17 13:28:07 +02:00
parent 700f7a9024
commit 8956a52b6a

View File

@ -102,3 +102,6 @@ sys-fs/btrfs-progs -zstd
# enable regular expression processing in jq
app-misc/jq oniguruma
# Disable sse2 from CPU_FLAGS_X86 to avoid config error around simd
net-misc/rsync -cpu_flags_x86_sse2