26 lines
958 B
Diff
26 lines
958 B
Diff
From 864192f1b7b7e128400e38585329453fb64a36fe Mon Sep 17 00:00:00 2001
|
|
From: yinbin <yinbin8@huawei.com>
|
|
Date: Fri, 17 Nov 2023 17:22:37 +0800
|
|
Subject: [PATCH] build: fix ltran build error
|
|
|
|
---
|
|
src/ltran/CMakeLists.txt | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/src/ltran/CMakeLists.txt b/src/ltran/CMakeLists.txt
|
|
index 8f5f674..6dab9a9 100644
|
|
--- a/src/ltran/CMakeLists.txt
|
|
+++ b/src/ltran/CMakeLists.txt
|
|
@@ -31,7 +31,7 @@ if($ENV{DPDK_VERSION_1911})
|
|
set(DPDK_DIR /usr/include/dpdk)
|
|
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -DDPDK_VERSION_1911=1")
|
|
set(DPDK_LINK_FLAGS "-Wl,-lrte_pmd_bond -Wl,-lrte_pmd_hinic -Wl,-lrte_pmd_ixgbe \
|
|
- -Wl,-lrte_pmd_pcap -Wl,-lrte_pmd_virtio -Wl, -lrte_pmd_mlx5")
|
|
+ -Wl,-lrte_pmd_pcap -Wl,-lrte_pmd_virtio -Wl,-lrte_pmd_mlx5")
|
|
if(NOT CMAKE_HOST_SYSTEM_PROCESSOR MATCHES "loongarch64")
|
|
set(DPDK_LINK_FLAGS "${DPDK_LINK_FLAGS} -Wl,-lrte_pmd_i40e")
|
|
endif()
|
|
--
|
|
2.27.0
|
|
|