mirror of
https://github.com/Freescale/meta-freescale-3rdparty.git
synced 2025-07-05 05:15:24 +02:00
libmcc: prevent oe qa error, gnu_hash
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
This commit is contained in:
parent
7a86916296
commit
7e2e2d8fa4
29
recipes-bsp/libmcc/libmcc/0001-Makefile-use-oe-ldflags.patch
Normal file
29
recipes-bsp/libmcc/libmcc/0001-Makefile-use-oe-ldflags.patch
Normal file
|
@ -0,0 +1,29 @@
|
|||
From ba86203da14d21c9c48dcf02595d71901875a263 Mon Sep 17 00:00:00 2001
|
||||
From: Max Krummenacher <max.krummenacher@toradex.com>
|
||||
Date: Thu, 23 Jun 2022 08:31:46 +0000
|
||||
Subject: [PATCH] Makefile: use oe ldflags
|
||||
|
||||
Prevents QA error about missing GNU_HASH in the binary.
|
||||
|
||||
Upstream-Status: Pending
|
||||
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
||||
---
|
||||
Makefile | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/Makefile b/Makefile
|
||||
index 4482baf..34afbd4 100644
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -8,7 +8,7 @@ build/libmcc.a: build/libmcc.o
|
||||
$(AR) rcs $@ $<
|
||||
|
||||
build/libmcc.so.1.0: build/libmcc.o
|
||||
- $(CC) -shared -Wl,-soname,libmcc.so.1 -o $@ $< -lc
|
||||
+ $(CC) $(LDFLAGS) -shared -Wl,-soname,libmcc.so.1 -o $@ $< -lc
|
||||
|
||||
install:
|
||||
mkdir -p $(DESTDIR)/usr/include $(DESTDIR)/usr/lib
|
||||
--
|
||||
2.20.1
|
||||
|
|
@ -8,7 +8,9 @@ DEPENDS = "virtual/kernel-module-mcc"
|
|||
|
||||
SRC_URI = "http://repository.timesys.com/buildsources/l/libmcc/libmcc-${PV}/libmcc-${PV}.tar.bz2 \
|
||||
file://build-Fix-symlink-generation.patch \
|
||||
file://build-with-versioned-soname.patch"
|
||||
file://build-with-versioned-soname.patch \
|
||||
file://0001-Makefile-use-oe-ldflags.patch \
|
||||
"
|
||||
|
||||
SRC_URI[md5sum] = "7a35d9804bdcebdfcd7a3b717de50d31"
|
||||
SRC_URI[sha256sum] = "5d6d85f2f17ba1016c24e3a1c1c934a9267021edaed67b63879112151f48562c"
|
||||
|
|
Loading…
Reference in New Issue
Block a user