File build.error.sles11.patch of Package dba-openssl-102f-static
diff -Naur openssl-1.0.2d.orig/crypto/modes/asm/ghash-x86_64.pl openssl-1.0.2d/crypto/modes/asm/ghash-x86_64.pl
--- openssl-1.0.2d.orig/crypto/modes/asm/ghash-x86_64.pl 2015-07-09 13:57:15.000000000 +0200
+++ openssl-1.0.2d/crypto/modes/asm/ghash-x86_64.pl 2015-07-10 10:12:37.107364109 +0200
@@ -92,7 +92,7 @@
if (`$ENV{CC} -Wa,-v -c -o /dev/null -x assembler /dev/null 2>&1`
=~ /GNU assembler version ([2-9]\.[0-9]+)/) {
- $avx = ($1>=2.19) + ($1>=2.22);
+ $avx = ($1>=2.20) + ($1>=2.22);
}
if (!$avx && $win64 && ($flavour =~ /nasm/ || $ENV{ASM} =~ /nasm/) &&