summaryrefslogtreecommitdiff
path: root/src/lib/libssl/src/config
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libssl/src/config')
-rw-r--r--src/lib/libssl/src/config3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/libssl/src/config b/src/lib/libssl/src/config
index 972cdb70a3..3e9af7680a 100644
--- a/src/lib/libssl/src/config
+++ b/src/lib/libssl/src/config
@@ -393,6 +393,9 @@ exit 0
393GCCVER=`(gcc -dumpversion) 2>/dev/null` 393GCCVER=`(gcc -dumpversion) 2>/dev/null`
394if [ "$GCCVER" != "" ]; then 394if [ "$GCCVER" != "" ]; then
395 CC=gcc 395 CC=gcc
396 # then strip off whatever prefix egcs prepends the number with...
397 # Hopefully, this will work for any future prefixes as well.
398 GCCVER=`echo $GCCVER | sed 's/^[a-zA-Z]*\-//'`
396 # Since gcc 3.1 gcc --version behaviour has changed. gcc -dumpversion 399 # Since gcc 3.1 gcc --version behaviour has changed. gcc -dumpversion
397 # does give us what we want though, so we use that. We just just the 400 # does give us what we want though, so we use that. We just just the
398 # major and minor version numbers. 401 # major and minor version numbers.