summaryrefslogtreecommitdiff
path: root/INSTALL
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2018-03-16 10:47:36 +0100
committerRichard Levitte <levitte@openssl.org>2018-03-16 12:52:06 +0100
commit80f2787717c2181438d4dc2da701fe784fd6286e (patch)
tree7b3f976d50f9a1e1b693b10b1ac54304015b1889 /INSTALL
parentf58461791d3dbf94fbc5254a27fc45eff7f34a6c (diff)
downloadopenssl-new-80f2787717c2181438d4dc2da701fe784fd6286e.tar.gz
INSTALL: Add a note about backward compatibility and "make variables"
Reviewed-by: Andy Polyakov <appro@openssl.org> (Merged from https://github.com/openssl/openssl/pull/5641)
Diffstat (limited to 'INSTALL')
-rw-r--r--INSTALL20
1 files changed, 19 insertions, 1 deletions
diff --git a/INSTALL b/INSTALL
index 08758339a2..e99b1f00b8 100644
--- a/INSTALL
+++ b/INSTALL
@@ -536,7 +536,7 @@
these flags interact with those variables.
VAR=value
- Assignment if environment variable for Configure. These
+ Assignment of environment variable for Configure. These
work just like normal environment variable assignments,
but are supported on all platforms and are confined to
the configuration scripts only. These assignments override
@@ -587,6 +587,24 @@
./config -DFOO CPPFLAGS=-DBAR -DCOOKIE
+ Backward compatibility note:
+
+ To be compatible with older configuration scripts, the
+ environment variables are ignored if compiling / linking
+ flags are given on the command line, except for these:
+
+ AR, CC, CXX, CROSS_COMPILE, HASHBANGPERL, PERL, RANLIB, RC
+ and WINDRES
+
+ For example, the following command will not see -DBAR:
+
+ CPPFLAGS=-DBAR ./config -DCOOKIE
+
+ However, the following will see both set variables:
+
+ CC=gcc CROSS_COMPILE=x86_64-w64-mingw32- \
+ ./config -DCOOKIE
+
reconf
reconfigure
Reconfigure from earlier data. This fetches the previous