mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-20 05:51:18 +02:00
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:
parent
700f7a9024
commit
8956a52b6a
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user