diff options
author | Richard Levitte <levitte@openssl.org> | 2016-03-12 09:46:28 +0100 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2016-03-13 00:02:55 +0100 |
commit | f425f9dcffc4efa13fbdbba34c6883b038409f3f (patch) | |
tree | 908a5963482e9165992ea3f1d65664e797fd7aad /crypto/rc4 | |
parent | Use single quotes rather than double quotes when needed (diff) | |
download | openssl-f425f9dcffc4efa13fbdbba34c6883b038409f3f.tar.xz openssl-f425f9dcffc4efa13fbdbba34c6883b038409f3f.zip |
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/rc4')
-rw-r--r-- | crypto/rc4/build.info | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/crypto/rc4/build.info b/crypto/rc4/build.info index b682903aa3..8e6df35a63 100644 --- a/crypto/rc4/build.info +++ b/crypto/rc4/build.info @@ -2,21 +2,21 @@ LIBS=../../libcrypto SOURCE[../../libcrypto]=\ {- $target{rc4_asm_src} -} -GENERATE[rc4-586.s]=asm/rc4-586.pl $(PERLASM_SCHEME) $(CFLAGS) $(PROCESSOR) +GENERATE[rc4-586.s]=asm/rc4-586.pl $(PERLASM_SCHEME) $(CFLAGS) $(LIB_CFLAGS) $(PROCESSOR) DEPEND[rc4-586.s]=../perlasm/x86asm.pl GENERATE[rc4-x86_64.s]=asm/rc4-x86_64.pl $(PERLASM_SCHEME) GENERATE[rc4-md5-x86_64.s]=asm/rc4-md5-x86_64.pl $(PERLASM_SCHEME) -GENERATE[rc4-ia64.S]=asm/rc4-ia64.pl $(CFLAGS) +GENERATE[rc4-ia64.S]=asm/rc4-ia64.pl $(CFLAGS) $(LIB_CFLAGS) GENERATE[rc4-parisc.s]=asm/rc4-parisc.pl $(PERLASM_SCHEME) BEGINRAW[Makefile] {- $builddir -}/rc4-ia64.s: rc4-ia64.S @case `awk '/^#define RC4_INT/{print$$NF}' $(SRCDIR)/include/openssl/opensslconf.h` in \ - int) set -x; $(CC) $(CFLAGS) -DSZ=4 -E rc4-ia64.S > $@ ;; \ - char) set -x; $(CC) $(CFLAGS) -DSZ=1 -E rc4-ia64.S > $@ ;; \ + int) set -x; $(CC) $(CFLAGS) $(LIB_CFLAGS) -DSZ=4 -E rc4-ia64.S > $@ ;; \ + char) set -x; $(CC) $(CFLAGS) $(LIB_CFLAGS) -DSZ=1 -E rc4-ia64.S > $@ ;; \ *) exit 1 ;; \ esac |