From acd47eec688f4985c1941ae2d95f0e5f1917dc12 Mon Sep 17 00:00:00 2001 From: Ryan Pavlik Date: Thu, 21 Jan 2021 14:55:50 -0600 Subject: [PATCH] Enable LTO and OpenMP in build system --- debian/rules | 2 ++ 1 file changed, 2 insertions(+) diff --git a/debian/rules b/debian/rules index 276f08f..be9e87b 100755 --- a/debian/rules +++ b/debian/rules @@ -12,6 +12,8 @@ endif # Tell CMake what the package version will be, to embed in the version string. # We do this for upstream's benefit, in lieu of including a git commit hash. CMAKEOPTS=-DDEBVERSION=$(DEB_VERSION) +CMAKEOPTS+= -DENABLE_OPENMP=yes +CMAKEOPTS+= -DENABLE_LTO=yes #speed up the build if we are skipping the tests ifneq (,$(filter nocheck,$(DEB_BUILD_OPTIONS))) -- 2.30.2