The mix of CFLAGS and LDFLAGS is a bit confusing in my opinion, and
authorRichard Levitte <levitte@openssl.org>
Wed, 26 Jan 2005 23:51:20 +0000 (23:51 +0000)
committerRichard Levitte <levitte@openssl.org>
Wed, 26 Jan 2005 23:51:20 +0000 (23:51 +0000)
commit4aca9297dcabc76cbe8ca2bb47dea25183f23830
tree10bfa04bc57ba05e202b02a1c3d767795d28dff2
parentb2c5960935b03fe974642830dfd1e1457fe45909
The mix of CFLAGS and LDFLAGS is a bit confusing in my opinion, and
Makefile.shared was a bit overcomplicated.

Make the shell variables LDFLAGS and SHAREDFLAGS in Makefile.shared
get the values of $(CFLAGS) or $(LDFLAGS) as appropriate depending on
the value the shell variables LDCMD and SHAREDCMD get.  That leaves
much less chance of confusion, since those pairs of shell variables
always are defined together.
Makefile.shared
apps/Makefile.ssl
test/Makefile.ssl