Projects
Eulaceura:Factory
gazelle
_service:obs_scm:0245-CMAKE-fix-ltran-build-err...
Sign Up
Log In
Username
Password
Sorry, you are not authorized to perform this action.
×
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:0245-CMAKE-fix-ltran-build-error-in-2403.patch of Package gazelle
From 0e6641552d16987b7e0706e1edb4992e7bd5e7d9 Mon Sep 17 00:00:00 2001 From: yinbin <yinbin8@huawei.com> Date: Mon, 26 Aug 2024 17:21:44 +0800 Subject: [PATCH] CMAKE: fix ltran build error in 2403 --- src/ltran/CMakeLists.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/ltran/CMakeLists.txt b/src/ltran/CMakeLists.txt index 8e9b1ea..f94ed83 100644 --- a/src/ltran/CMakeLists.txt +++ b/src/ltran/CMakeLists.txt @@ -80,12 +80,12 @@ else() endif() if (DPDK_VERSION GREATER_EQUAL 23.11) - set(DPDK_LINK_FLAGS ${DPDK_LINK_FLAGS} -lrte_log -larchive -Wl,-lrte_eal) + set(DPDK_LINK_FLAGS ${DPDK_LINK_FLAGS} -lrte_log -Wl,-lrte_eal) else() set(DPDK_LINK_FLAGS ${DPDK_LINK_FLAGS} -lrte_kni -Wl,-Bstatic -Wl,-lrte_eal -Wl,-Bdynamic) - if(CMAKE_HOST_SYSTEM_PROCESSOR MATCHES "ppc64le") - set(DPDK_LINK_FLAGS ${DPDK_LINK_FLAGS} -Wl,-larchive) - endif() +endif() +if(CMAKE_HOST_SYSTEM_PROCESSOR MATCHES "ppc64le") + set(DPDK_LINK_FLAGS ${DPDK_LINK_FLAGS} -Wl,-larchive) endif() # compile info -- 2.34.1
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2