]> git.ipfire.org Git - thirdparty/openssl.git/commit - Configure
Treat C++ flags more like C flags, and only if C++ compiler specified
authorRichard Levitte <levitte@openssl.org>
Sat, 27 Jan 2018 13:56:06 +0000 (14:56 +0100)
committerRichard Levitte <levitte@openssl.org>
Sun, 28 Jan 2018 15:22:40 +0000 (16:22 +0100)
commitfa153b57a30154b828cabdfb079f832a96eeb2e1
treeae6f6812843aa98802b9c170bd1ac7f3df30d55a
parente548c1fe98e35888e8ad90b16a4fdcd3ab577210
Treat C++ flags more like C flags, and only if C++ compiler specified

C++ flags got the same config target value as C flags, but then
nothing else happened while C flags get all kinds of stuff added to
them (especially when --strict-warnings is used).

Now, C++ flags get the exact same treatment as C flags.  However, this
only happens when a C++ compiler is specified, to avoid confusing
messages about added C++ flags.

Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/5181)
Configurations/10-main.conf
Configurations/unix-Makefile.tmpl
Configure