aboutsummaryrefslogtreecommitdiff
path: root/crypto/chacha
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2016-03-12 09:46:28 +0100
committerRichard Levitte <levitte@openssl.org>2016-03-13 00:02:55 +0100
commitf425f9dcffc4efa13fbdbba34c6883b038409f3f (patch)
tree908a5963482e9165992ea3f1d65664e797fd7aad /crypto/chacha
parent8a0a3d293cc51c1cfeb5a3fecca01ec106747694 (diff)
downloadopenssl-f425f9dcffc4efa13fbdbba34c6883b038409f3f.zip
openssl-f425f9dcffc4efa13fbdbba34c6883b038409f3f.tar.gz
openssl-f425f9dcffc4efa13fbdbba34c6883b038409f3f.tar.bz2
Add $(LIB_CFLAGS) for any build.info generator that uses $(CFLAGS)
The reason to do so is that some of the generators detect PIC flags like -fPIC and -KPIC, and those are normally delivered in LD_CFLAGS. Reviewed-by: Rich Salz <rsalz@openssl.org>
Diffstat (limited to 'crypto/chacha')
-rw-r--r--crypto/chacha/build.info2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/chacha/build.info b/crypto/chacha/build.info
index 41e9967..f99114c 100644
--- a/crypto/chacha/build.info
+++ b/crypto/chacha/build.info
@@ -1,7 +1,7 @@
LIBS=../../libcrypto
SOURCE[../../libcrypto]={- $target{chacha_asm_src} -}
-GENERATE[chacha-x86.s]=asm/chacha-x86.pl $(PERLASM_SCHEME) $(CFLAGS) $(PROCESSOR)
+GENERATE[chacha-x86.s]=asm/chacha-x86.pl $(PERLASM_SCHEME) $(CFLAGS) $(LIB_CFLAGS) $(PROCESSOR)
GENERATE[chacha-x86_64.s]=asm/chacha-x86_64.pl $(PERLASM_SCHEME)
GENERATE[chacha-ppc.s]=asm/chacha-ppc.pl $(PERLASM_SCHEME)
GENERATE[chacha-armv4.S]=asm/chacha-armv4.pl $(PERLASM_SCHEME)