diff options
| -rw-r--r-- | meta-networking/recipes-connectivity/bearssl/bearssl/0001-make-Pass-LDFLAGS-when-building-shared-objects.patch | 32 | ||||
| -rw-r--r-- | meta-networking/recipes-connectivity/bearssl/bearssl_0.6.bb | 1 |
2 files changed, 33 insertions, 0 deletions
diff --git a/meta-networking/recipes-connectivity/bearssl/bearssl/0001-make-Pass-LDFLAGS-when-building-shared-objects.patch b/meta-networking/recipes-connectivity/bearssl/bearssl/0001-make-Pass-LDFLAGS-when-building-shared-objects.patch new file mode 100644 index 0000000000..3b341e0355 --- /dev/null +++ b/meta-networking/recipes-connectivity/bearssl/bearssl/0001-make-Pass-LDFLAGS-when-building-shared-objects.patch | |||
| @@ -0,0 +1,32 @@ | |||
| 1 | From 9515448761739d6186e7d07da5b47e368753528c Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Khem Raj <raj.khem@gmail.com> | ||
| 3 | Date: Tue, 1 Sep 2020 11:34:33 -0700 | ||
| 4 | Subject: [PATCH] make: Pass LDFLAGS when building shared objects | ||
| 5 | |||
| 6 | OE passes flags like hash-style via LDFLAGS which alters the linker | ||
| 7 | defaults, its important to have LDFLAGS in link step even if compiler | ||
| 8 | driver is used to do linking | ||
| 9 | |||
| 10 | Upstream-Status: Pending | ||
| 11 | |||
| 12 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
| 13 | --- | ||
| 14 | mk/Rules.mk | 2 +- | ||
| 15 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
| 16 | |||
| 17 | diff --git a/mk/Rules.mk b/mk/Rules.mk | ||
| 18 | index b480bd6..db65125 100644 | ||
| 19 | --- a/mk/Rules.mk | ||
| 20 | +++ b/mk/Rules.mk | ||
| 21 | @@ -344,7 +344,7 @@ $(BEARSSLLIB): $(OBJDIR) $(OBJ) | ||
| 22 | $(AR) $(ARFLAGS) $(AROUT)$(BEARSSLLIB) $(OBJ) | ||
| 23 | |||
| 24 | $(BEARSSLDLL): $(OBJDIR) $(OBJ) | ||
| 25 | - $(LDDLL) $(LDDLLFLAGS) $(LDDLLOUT)$(BEARSSLDLL) $(OBJ) | ||
| 26 | + $(LDDLL) $(LDDLLFLAGS) $(LDFLAGS) $(LDDLLOUT)$(BEARSSLDLL) $(OBJ) | ||
| 27 | |||
| 28 | $(BRSSL): $(BEARSSLLIB) $(OBJBRSSL) | ||
| 29 | $(LD) $(LDFLAGS) $(LDOUT)$(BRSSL) $(OBJBRSSL) $(BEARSSLLIB) | ||
| 30 | -- | ||
| 31 | 2.28.0 | ||
| 32 | |||
diff --git a/meta-networking/recipes-connectivity/bearssl/bearssl_0.6.bb b/meta-networking/recipes-connectivity/bearssl/bearssl_0.6.bb index 74a876987a..1102bb95a5 100644 --- a/meta-networking/recipes-connectivity/bearssl/bearssl_0.6.bb +++ b/meta-networking/recipes-connectivity/bearssl/bearssl_0.6.bb | |||
| @@ -27,6 +27,7 @@ SRCREV = "8ef7680081c61b486622f2d983c0d3d21e83caad" | |||
| 27 | SRC_URI = "git://www.bearssl.org/git/BearSSL;protocol=https;nobranch=1 \ | 27 | SRC_URI = "git://www.bearssl.org/git/BearSSL;protocol=https;nobranch=1 \ |
| 28 | file://0001-conf-Unix.mk-remove-fixed-command-definitions.patch \ | 28 | file://0001-conf-Unix.mk-remove-fixed-command-definitions.patch \ |
| 29 | file://0002-test-test_x509.c-fix-potential-overflow-issue.patch \ | 29 | file://0002-test-test_x509.c-fix-potential-overflow-issue.patch \ |
| 30 | file://0001-make-Pass-LDFLAGS-when-building-shared-objects.patch \ | ||
| 30 | " | 31 | " |
| 31 | 32 | ||
| 32 | # without compile errors like | 33 | # without compile errors like |
