Ruby: add warning about Avira antivirus (#16882)

This commit is contained in:
Adam J. Stewart 2020-06-02 17:05:50 -05:00 committed by GitHub
parent d5ffec1b2f
commit 7f086af05e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -34,6 +34,10 @@ class Ruby(AutotoolsPackage):
depends_on('openssl', when='+openssl')
depends_on('readline', when='+readline')
# Known build issues when Avira antivirus software is running:
# https://github.com/rvm/rvm/issues/4313#issuecomment-374020379
# TODO: add check for this and warn user
# gcc-7-based build requires patches (cf. https://bugs.ruby-lang.org/issues/13150)
patch('ruby_23_gcc7.patch', level=0, when='@2.2.0:2.2.999 %gcc@7:')
patch('ruby_23_gcc7.patch', level=0, when='@2.3.0:2.3.4 %gcc@7:')