Configure et al: Move the definition of library only flags
authorRichard Levitte <levitte@openssl.org>
Tue, 6 Mar 2018 20:09:05 +0000 (21:09 +0100)
committerRichard Levitte <levitte@openssl.org>
Fri, 9 Mar 2018 13:07:59 +0000 (14:07 +0100)
commit68b8bcf49c84b74e3d5560c50113e879f872d21a
tree6d0500cea4bc8f3ad47216934c6b7cd13785c37e
parent0244234d5d64b96d251fc86371bccbca6cfc52b5
Configure et al: Move the definition of library only flags

We're currently using the attributes 'defines', 'cppflags', 'cflags'
etc quite liberally, with no regard for where that ends up.  Quite a
few of those flags are actually only relevant for the libraries
(mostly libcrypto), so it's safe to say that those could be applied to
the libraries only.

So, we move some of those flags to 'lib_defines', 'lib_cppflags',
'lib_cflags', etc.

Reviewed-by: Andy Polyakov <appro@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/5560)
Configurations/00-base-templates.conf
Configurations/10-main.conf
Configure