summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gtsam.spec3
1 files changed, 2 insertions, 1 deletions
diff --git a/gtsam.spec b/gtsam.spec
index f54e295..1504527 100644
--- a/gtsam.spec
+++ b/gtsam.spec
@@ -6,6 +6,7 @@
%global __os_install_post %(echo '%{__os_install_post}' | sed -e 's!/usr/lib[^[:space:]]*/brp-python-bytecompile[[:space:]].*$!!g')
%global __provides_exclude_from ^/opt/ros/%{ros_distro}/.*$
%global __requires_exclude_from ^/opt/ros/%{ros_distro}/.*$
+%global optflags %(echo %{optflags} | sed 's/-g//g')
%define RosPkgName gtsam
@@ -69,7 +70,7 @@ mkdir -p .obj-%{_target_platform} && cd .obj-%{_target_platform}
%endif
..
-%make_build
+make -j2
%install
# Needed to bootstrap since the ros_workspace package does not yet exist.