Mixing cc and gcc compiled binaries is problematic in some cases. It
tooks some time to track down this issue, but when compiling with cc
there were threading issues, and switching to gcc like everything else
fixes them.

This was broken as part of
http://rt.openssl.org/Ticket/Display.html?id=463. It's not clear what
problem he originally had to propose this config change, but making it
unconditional doesn't make any sense. The following patch switches it
from an unconditional change to one selected by an env var.

--- openssl-0.9.8h/config 2008-10-03 22:29:21.000000000 +0000
+++ openssl-0.9.8h/config 2008-10-03 22:29:40.000000000 +0000
@@ -467,8 +467,8 @@
-if [ "${SYSTEM}" = "AIX" ]; then # favor vendor cc over gcc
- (cc) 2>&1 | grep -iv "not found" > /dev/null && CC=cc
+if [ "${OPENSSL_USE_CC}" = "TRUE" ]; then # favor vendor cc over
+ CC=cc

__________________________________________________ ____________________
OpenSSL Project http://www.openssl.org
Development Mailing List openssl-dev@openssl.org
Automated List Manager majordomo@openssl.org