aboutsummaryrefslogtreecommitdiff
path: root/Configurations
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2016-10-12 15:30:08 +0200
committerRichard Levitte <levitte@openssl.org>2016-10-12 16:37:54 +0200
commitea241958501b65d2fc70ecc1642bd1af70a0db9d (patch)
tree544066447d8bc9103b4fbaa52de0aa2a5dc2a350 /Configurations
parent6dcba070a94b1ead92f3e327cf207a0b7db6596f (diff)
downloadopenssl-ea241958501b65d2fc70ecc1642bd1af70a0db9d.zip
openssl-ea241958501b65d2fc70ecc1642bd1af70a0db9d.tar.gz
openssl-ea241958501b65d2fc70ecc1642bd1af70a0db9d.tar.bz2
Add support for C++ in Configure
A note: this will form object file names by changing '.cc' to '_cc.o'. This will permit other configuration code to recognise these object files were built for C++ rather than C. Reviewed-by: Rich Salz <rsalz@openssl.org>
Diffstat (limited to 'Configurations')
-rw-r--r--Configurations/README12
1 files changed, 10 insertions, 2 deletions
diff --git a/Configurations/README b/Configurations/README
index da64e8c..0b82ded 100644
--- a/Configurations/README
+++ b/Configurations/README
@@ -17,12 +17,20 @@ In each table entry, the following keys are significant:
sys_id => System identity for systems where that
is difficult to determine automatically.
- cc => The compiler command, usually one of "cc",
+ cc => The C compiler command, usually one of "cc",
"gcc" or "clang". This command is normally
also used to link object files and
libraries into the final program.
+ cxx => The C++ compiler command, usually one of
+ "c++", "g++" or "clang++". This command is
+ also used when linking a program where at
+ least one of the object file is made from
+ C++ source.
cflags => Flags that are used at all times when
- compiling.
+ compiling C object files.
+ cxxflags => Flags that are used at all times when
+ compiling C++ object files. If unset, it
+ gets the same value as cflags.
defines => As an alternative, macro definitions may be
present here instead of in `cflags'. If
given here, they MUST be as an array of the