Make sure the effect of "pic" / "no-pic" is used with assembler compilations
authorRichard Levitte <levitte@openssl.org>
Fri, 4 Mar 2016 14:36:07 +0000 (15:36 +0100)
committerRichard Levitte <levitte@openssl.org>
Wed, 9 Mar 2016 11:33:23 +0000 (12:33 +0100)
commit5b14d5b5a0271ec0063d57b90f7d0b14a87c94d2
tree610c06416a66c098e44bb946e33db7681f49f969
parenta772e9d01a81dae132cb03107292b3ecc725e5af
Make sure the effect of "pic" / "no-pic" is used with assembler compilations

Before the 'Introduce the "pic" / "no-pic" config option' commit, the
shared_cflag value for the chosen config would be part of the make
variable CFLAG, which got replicated into CFLAGS and ASFLAGS.

Since said commit, the shared_cflag value has become a make variable
of its own, SHARED_CFLAG (which is left empty in a "no-pic" build).

However, ASFLAGS was forgotten.  That's what's corrected with this
change.

Reviewed-by: Andy Polyakov <appro@openssl.org>
18 files changed:
crypto/Makefile.in
crypto/aes/Makefile.in
crypto/bf/Makefile.in
crypto/bn/Makefile.in
crypto/camellia/Makefile.in
crypto/cast/Makefile.in
crypto/chacha/Makefile.in
crypto/des/Makefile.in
crypto/ec/Makefile.in
crypto/md5/Makefile.in
crypto/modes/Makefile.in
crypto/poly1305/Makefile.in
crypto/rc4/Makefile.in
crypto/rc5/Makefile.in
crypto/ripemd/Makefile.in
crypto/sha/Makefile.in
crypto/whrlpool/Makefile.in
engines/Makefile.in