Add advice on setting CXX at the same time as CC
authorRichard Levitte <levitte@openssl.org>
Fri, 1 Mar 2019 10:54:07 +0000 (11:54 +0100)
committerRichard Levitte <levitte@openssl.org>
Tue, 5 Mar 2019 08:26:13 +0000 (09:26 +0100)
Reviewed-by: Paul Dale <paul.dale@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/8370)

INSTALL

diff --git a/INSTALL b/INSTALL
index 99d0463..d8c5dc5 100644 (file)
--- a/INSTALL
+++ b/INSTALL
                    the C and the C++ compiler.  If not, the C++ build
                    test will most likely break.  As an alternative,
                    you can use the language specific variables, CFLAGS
-                   and CXXFLAGS.                   
+                   and CXXFLAGS.
 
   no-capieng
                    Don't build the CAPI engine. This option will be forced if
                         CC=gcc CROSS_COMPILE=x86_64-w64-mingw32- \
                         ./config -DCOOKIE
 
+                   If CC is set, it is advisable to also set CXX to ensure
+                   both C and C++ compilers are in the same "family".  This
+                   becomes relevant with 'enable-external-tests' and
+                   'enable-buildtest-c++'.
+
   reconf
   reconfigure
                    Reconfigure from earlier data.  This fetches the previous