Fix annocheck failure
Resolves: RHEL-24816 Signed-off-by: Kamal Heib <kheib@redhat.com>
This commit is contained in:
parent
49733b8d0f
commit
393d82a35a
26
0001-Fix-bind-now-test.patch
Normal file
26
0001-Fix-bind-now-test.patch
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
From f9c2ffd7935fb799a084d74ee432e21c3f45b6f1 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Kamal Heib <kheib@redhat.com>
|
||||||
|
Date: Fri, 24 May 2024 21:15:47 -0400
|
||||||
|
Subject: [PATCH] Fix bind-now test
|
||||||
|
|
||||||
|
Signed-off-by: Kamal Heib <kheib@redhat.com>
|
||||||
|
---
|
||||||
|
resourcetools/resourcedump_lib/src/sdk/Makefile.am | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/resourcetools/resourcedump_lib/src/sdk/Makefile.am b/resourcetools/resourcedump_lib/src/sdk/Makefile.am
|
||||||
|
index aefc88a4f849..de9577b27379 100644
|
||||||
|
--- a/resourcetools/resourcedump_lib/src/sdk/Makefile.am
|
||||||
|
+++ b/resourcetools/resourcedump_lib/src/sdk/Makefile.am
|
||||||
|
@@ -86,7 +86,7 @@ resource_dump_sdk_so_DEPS = \
|
||||||
|
|
||||||
|
# if !WIN_BUILD
|
||||||
|
libresource_dump_sdk.so: libresource_dump_sdk.la
|
||||||
|
- $(CC) -Wall -pthread -shared ${CFLAGS} $(COMPILER_FPIC) libresource_dump_sdk_la-resource_dump_sdk.o \
|
||||||
|
+ $(CC) -Wall -pthread -shared -Wl,-z,now -Wl,${CFLAGS} $(COMPILER_FPIC) libresource_dump_sdk_la-resource_dump_sdk.o \
|
||||||
|
-o libresource_dump_sdk.so ${AM_LDFLAGS} $(resource_dump_sdk_so_DEPS)
|
||||||
|
# else
|
||||||
|
# libresource_dump_sdk.dll: libresource_dump_sdk.la
|
||||||
|
--
|
||||||
|
2.45.0
|
||||||
|
|
@ -13,6 +13,7 @@ Url: https://github.com/Mellanox/%{name}
|
|||||||
Source0: https://github.com/Mellanox/%{name}/releases/download/v%{version}-1/%{name}-%{version}-1.tar.gz
|
Source0: https://github.com/Mellanox/%{name}/releases/download/v%{version}-1/%{name}-%{version}-1.tar.gz
|
||||||
Group: Applications/System
|
Group: Applications/System
|
||||||
|
|
||||||
|
Patch1: 0001-Fix-bind-now-test.patch
|
||||||
Patch4: add-default-link-flags-for-shared-libraries.patch
|
Patch4: add-default-link-flags-for-shared-libraries.patch
|
||||||
Patch6: replace-mlxfwreset-with-mstfwreset-in-mstflint-message.patch
|
Patch6: replace-mlxfwreset-with-mstfwreset-in-mstflint-message.patch
|
||||||
|
|
||||||
@ -34,6 +35,7 @@ for network adapters based on Mellanox Technologies chips.
|
|||||||
%prep
|
%prep
|
||||||
%setup -q -n %{name}-%{version}
|
%setup -q -n %{name}-%{version}
|
||||||
|
|
||||||
|
%patch1 -p1
|
||||||
%patch4 -p1
|
%patch4 -p1
|
||||||
%patch6 -p1
|
%patch6 -p1
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user