summaryrefslogtreecommitdiffstats
path: root/crypto/sha
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/sha
parent8a0a3d293cc51c1cfeb5a3fecca01ec106747694 (diff)
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/sha')
-rw-r--r--crypto/sha/build.info12
1 files changed, 6 insertions, 6 deletions
diff --git a/crypto/sha/build.info b/crypto/sha/build.info
index 5e2cd712e8..55248b3c36 100644
--- a/crypto/sha/build.info
+++ b/crypto/sha/build.info
@@ -2,16 +2,16 @@ LIBS=../../libcrypto
SOURCE[../../libcrypto]=\
sha1dgst.c sha1_one.c sha256.c sha512.c {- $target{sha1_asm_src} -}
-GENERATE[sha1-586.s]=asm/sha1-586.pl $(PERLASM_SCHEME) $(CFLAGS) $(PROCESSOR)
+GENERATE[sha1-586.s]=asm/sha1-586.pl $(PERLASM_SCHEME) $(CFLAGS) $(LIB_CFLAGS) $(PROCESSOR)
DEPEND[sha1-586.s]=../perlasm/x86asm.pl
-GENERATE[sha256-586.s]=asm/sha256-586.pl $(PERLASM_SCHEME) $(CFLAGS) $(PROCESSOR)
+GENERATE[sha256-586.s]=asm/sha256-586.pl $(PERLASM_SCHEME) $(CFLAGS) $(LIB_CFLAGS) $(PROCESSOR)
DEPEND[sha256-586.s]=../perlasm/x86asm.pl
-GENERATE[sha512-586.s]=asm/sha512-586.pl $(PERLASM_SCHEME) $(CFLAGS) $(PROCESSOR)
+GENERATE[sha512-586.s]=asm/sha512-586.pl $(PERLASM_SCHEME) $(CFLAGS) $(LIB_CFLAGS) $(PROCESSOR)
DEPEND[sha512-586.s]=../perlasm/x86asm.pl
-GENERATE[sha1-ia64.s]=sha1-ia64.pl $(CFLAGS)
-GENERATE[sha256-ia64.s]=sha512-ia64.pl $(CFLAGS)
-GENERATE[sha512-ia64.s]=sha512-ia64.pl $(CFLAGS)
+GENERATE[sha1-ia64.s]=sha1-ia64.pl $(CFLAGS) $(LIB_CFLAGS)
+GENERATE[sha256-ia64.s]=sha512-ia64.pl $(CFLAGS) $(LIB_CFLAGS)
+GENERATE[sha512-ia64.s]=sha512-ia64.pl $(CFLAGS) $(LIB_CFLAGS)
GENERATE[sha1-alpha.s]=asm/sha1-alpha.pl