aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-connectivity/openssl/openssl/reproducible-cflags.patch
blob: b7351752637dcc1a6f55dd55bf28993e37fd8e52 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Allow passing custom c-flags to mkbuildinf.pl in order to pass
flags without any build host references

Upstream-Status: Inappropriate [OE specific]

Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>

Index: openssl-1.0.2u/crypto/Makefile
===================================================================
--- openssl-1.0.2u.orig/crypto/Makefile
+++ openssl-1.0.2u/crypto/Makefile
@@ -57,7 +57,7 @@ top:
 all: shared
 
 buildinf.h: ../Makefile
-	$(PERL) $(TOP)/util/mkbuildinf.pl "$(CC) $(CFLAGS)" "$(PLATFORM)" >buildinf.h
+	$(PERL) $(TOP)/util/mkbuildinf.pl "$(CC_INFO)" "$(PLATFORM)" >buildinf.h
 
 x86cpuid.s:	x86cpuid.pl perlasm/x86asm.pl
 	$(PERL) x86cpuid.pl $(PERLASM_SCHEME) $(CFLAGS) $(PROCESSOR) > $@