Avoid error message about missing gcc.
[openssl.git] / config
diff --git a/config b/config
index 78aac51b507b6ab3d73294e568f82550cec7e72a..2427c4a1aad7d573a9ca2c3ea0d5a56ea38b617a 100755 (executable)
--- a/config
+++ b/config
@@ -284,7 +284,7 @@ done
 
 # figure out if gcc is available and if so we use it otherwise
 # we fallback to whatever cc does on the system
-GCCVER=`gcc -v 2>&1`
+GCCVER=`(gcc -v) 2>&1`
 if [ $? = "0" ]; then
   CC=gcc
 else