summaryrefslogtreecommitdiffstats
path: root/crypto/rc4
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2016-02-19 22:02:41 +0100
committerRichard Levitte <levitte@openssl.org>2016-02-20 16:51:31 +0100
commit45502bfe19fb03c9f343b03fa6434ee0bece8428 (patch)
treeaee03c1d32efbaa7227580971da0f628359016f2 /crypto/rc4
parentMake crypto/buildinf.h depend on configdata.pm rather than Makefile (diff)
downloadopenssl-45502bfe19fb03c9f343b03fa6434ee0bece8428.tar.xz
openssl-45502bfe19fb03c9f343b03fa6434ee0bece8428.zip
Always build library object files with shared library cflags
This takes us away from the idea that we know exactly how our static libraries are going to get used. Instead, we make them available to build shareable things with, be it other shared libraries or DSOs. On the other hand, we also have greater control of when the shared library cflags. They will never be used with object files meant got binaries, such as apps/openssl or test/test*. With unified, we take this a bit further and prepare for having to deal with extra cflags specifically to be used with DSOs (dynamic engines), libraries and binaries (applications). Reviewed-by: Rich Salz <rsalz@openssl.org>
Diffstat (limited to 'crypto/rc4')
-rw-r--r--crypto/rc4/Makefile.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/rc4/Makefile.in b/crypto/rc4/Makefile.in
index f0f72d1a57..fe2ef7d6c5 100644
--- a/crypto/rc4/Makefile.in
+++ b/crypto/rc4/Makefile.in
@@ -12,7 +12,7 @@ AR= ar r
RC4_ENC=rc4_enc.o rc4_skey.o
-CFLAGS= $(INCLUDES) $(CFLAG)
+CFLAGS= $(INCLUDES) $(CFLAG) $(SHARED_CFLAG)
ASFLAGS= $(INCLUDES) $(ASFLAG)
AFLAGS= $(ASFLAGS)