diff options
| author | CoprDistGit <infra@openeuler.org> | 2026-03-31 01:00:03 +0000 |
|---|---|---|
| committer | CoprDistGit <infra@openeuler.org> | 2026-03-31 01:00:03 +0000 |
| commit | 6d572b1be217560c15f49fe8b8f0d54f479f7d7f (patch) | |
| tree | cad50ef20ee863c6f068cee5ad61a12226529769 /rtabmap-slam.spec | |
| parent | 9f81ba213ea3410ff810cdef337b6a11d044a890 (diff) | |
automatic import of rtabmap-slam
Diffstat (limited to 'rtabmap-slam.spec')
| -rw-r--r-- | rtabmap-slam.spec | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/rtabmap-slam.spec b/rtabmap-slam.spec index f4d444a..aff751b 100644 --- a/rtabmap-slam.spec +++ b/rtabmap-slam.spec @@ -11,7 +11,7 @@ Name: ros-%{ros_distro}-%{RosPkgName} Version: 0.22.1 -Release: 1%{?dist}%{?release_suffix} +Release: 2%{?dist}%{?release_suffix} Summary: RTAB-Map's SLAM package. License: BSD @@ -91,6 +91,8 @@ 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_CXX_FLAGS_RELEASE="-O2 -DNDEBUG" \ + -DCMAKE_C_FLAGS_RELEASE="-O2 -DNDEBUG" \ %if !0%{?with_tests} -DBUILD_TESTING=OFF \ %endif |
