From: Ryan Pavlik Date: Thu, 21 Jan 2021 20:55:50 +0000 (-0600) Subject: Enable LTO and OpenMP in build system X-Git-Tag: archive/raspbian/3.1+ds1-4+rpi1^2~61 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=acd47eec688f4985c1941ae2d95f0e5f1917dc12;p=solvespace.git Enable LTO and OpenMP in build system --- 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)))