community/pybind11: fix

This commit is contained in:
Kevin Mihelich 2020-10-29 14:04:52 +00:00
parent 1bc11e1e62
commit f55bdda70a

View file

@ -3,7 +3,7 @@
# Contributor: Matthew Ellison <matt+aur@arroyonetworks.com>
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
# - 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