From f55bdda70a6ceb1a4dd6a698994bc92019558779 Mon Sep 17 00:00:00 2001 From: Kevin Mihelich Date: Thu, 29 Oct 2020 14:04:52 +0000 Subject: [PATCH] community/pybind11: fix --- community/pybind11/PKGBUILD | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/community/pybind11/PKGBUILD b/community/pybind11/PKGBUILD index a70a9a334..65ab870f4 100644 --- a/community/pybind11/PKGBUILD +++ b/community/pybind11/PKGBUILD @@ -3,7 +3,7 @@ # Contributor: Matthew Ellison # ALARM: Kevin Mihelich -# - disable lto via -DPYBIND11_LTO_CXX_FLAGS="" +# - disable lto via -DCMAKE_INTERPROCEDURAL_OPTIMIZATION=OFF pkgname=pybind11 pkgver=2.6.0 @@ -28,7 +28,7 @@ build () { -S "${srcdir}/${pkgname}-${pkgver}" \ -DCMAKE_BUILD_TYPE:STRING='None' \ -DCMAKE_INSTALL_PREFIX:PATH='/usr' \ - -DPYBIND11_LTO_CXX_FLAGS="" \ + -DCMAKE_INTERPROCEDURAL_OPTIMIZATION=OFF \ -Wno-dev make -C "${srcdir}/build-cmake" all mock_install