diff options
Diffstat (limited to 'crypto/openssl/config')
-rwxr-xr-x | crypto/openssl/config | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/crypto/openssl/config b/crypto/openssl/config index 5f4ed18f0eca..40ad0fe6cf48 100755 --- a/crypto/openssl/config +++ b/crypto/openssl/config @@ -384,6 +384,9 @@ done GCCVER=`(gcc -dumpversion) 2>/dev/null` if [ "$GCCVER" != "" ]; then CC=gcc + # then strip off whatever prefix egcs prepends the number with... + # Hopefully, this will work for any future prefixes as well. + GCCVER=`echo $GCCVER | sed 's/^[a-zA-Z]*\-//'` # Since gcc 3.1 gcc --version behaviour has changed. gcc -dumpversion # does give us what we want though, so we use that. We just just the # major and minor version numbers. |