qat-zstd-plugin/rh-makefile.patch
Vladislav Dronov a1a501b979 Update to qat-zstd-plugin 1.0.0 @ 1e8b930c
... (RHEL-72905)
- NUMA node aware mem allocations and other Code optimizations
- Bug Fixes and Static analysis Fixes (OpenScanhub and Latest Coverity)
- Support ZSTD v1.5.7 and README refactor
- Spec file updates for RPM Packaging

Resolves: RHEL-72905

Signed-off-by: Vladislav Dronov <vdronov@redhat.com>
2026-02-02 13:55:35 +01:00

32 lines
1.2 KiB
Diff

--- a/src/Makefile 2024-10-30 22:20:03.296178391 +0100
+++ b/src/Makefile 2024-10-30 22:21:43.915301707 +0100
@@ -53,7 +53,7 @@ ifneq ($(ICP_ROOT), )
-I$(ICP_ROOT)/quickassist/include/dc \
-I$(ICP_ROOT)/quickassist/lookaside/access_layer/include \
-I$(ICP_ROOT)/quickassist/utilities/libusdm_drv
- LDFLAGS = -Wl,-rpath,$(ICP_ROOT)/build -L$(ICP_ROOT)/build -lqat_s \
+ LDFLAGS += -Wl,-rpath,$(ICP_ROOT)/build -L$(ICP_ROOT)/build -lqat_s \
-lusdm_drv_s -lnuma
else
# In-tree - look for headers in standard locations
@@ -63,7 +63,7 @@ else
else
$(error QAT headers not found in Standard path, Please install QATLib development package or set ICP_ROOT for out-of-tree driver)
endif
- LDFLAGS = -lqat -lusdm -lnuma
+ LDFLAGS += -lqat -lusdm -lnuma
endif
ifdef ZSTDLIB
--- a/test/Makefile 2024-10-30 22:22:39.465369781 +0100
+++ b/test/Makefile 2024-10-30 22:24:02.145471097 +0100
@@ -34,7 +34,7 @@
# #######################################################################
LIB = ../src
-LDFLAGS = -L$(LIB) -I$(LIB)
+LDFLAGS += -L$(LIB) -I$(LIB)
ifneq ($(ICP_ROOT), )
LDFLAGS += -lqat_s -lusdm_drv_s -lnuma -Wl,-rpath,$(ICP_ROOT)/build -L$(ICP_ROOT)/build