diff options
| author | CoprDistGit <infra@openeuler.org> | 2026-04-09 02:15:02 +0000 |
|---|---|---|
| committer | CoprDistGit <infra@openeuler.org> | 2026-04-09 02:15:02 +0000 |
| commit | 98091c482748771bf5cfce7a6f34c030680385b0 (patch) | |
| tree | 4fa8858e6562dec374b6f3ea5ebe3a0828c5cc10 /librealsense2.spec | |
| parent | 8386d21312bf758fb2d038c81e3be3bd19f80c9c (diff) | |
automatic import of ros-humble-librealsense2
Diffstat (limited to 'librealsense2.spec')
| -rw-r--r-- | librealsense2.spec | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/librealsense2.spec b/librealsense2.spec index 133cdc8..fec04b4 100644 --- a/librealsense2.spec +++ b/librealsense2.spec @@ -18,6 +18,9 @@ Url: https://github.com/realsenseai/librealsense/ License: Apache License, Version 2.0 Patch1: 0-librealsense2-fix-threads-not-found.patch +Patch2: 0-librealsense2-add-riscv-arch.patch +Patch3: disable-lto.patch + Source0: %{RosPkgName}-%{version}.tar.gz.aa Source1: %{RosPkgName}-%{version}.tar.gz.ab Source2: %{RosPkgName}-%{version}.tar.gz.ac @@ -73,6 +76,7 @@ mkdir -p .obj-%{_target_platform} && cd .obj-%{_target_platform} -DAMENT_PREFIX_PATH="/opt/ros/%{ros_distro}" \ -DCMAKE_PREFIX_PATH="/opt/ros/%{ros_distro}" \ -DSETUPTOOLS_DEB_LAYOUT=OFF \ + -DCMAKE_EXE_LINKER_FLAGS="-latomic" \ -DBUILD_EXAMPLES=OFF \ -DBUILD_GLSL_EXTENSIONS=OFF \ -DBUILD_GRAPHICAL_EXAMPLES=OFF \ |
