commit:     b7141ffbc5d0aecdaea3c1d2b95a7b851a28523d
Author:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Wed Jan 11 08:21:25 2023 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Wed Jan 11 08:25:52 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b7141ffb

sci-libs/NNPACK: drop changes to optimization option

Closes: https://bugs.gentoo.org/886357
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>

 sci-libs/NNPACK/NNPACK-2020.12.22.ebuild | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/sci-libs/NNPACK/NNPACK-2020.12.22.ebuild 
b/sci-libs/NNPACK/NNPACK-2020.12.22.ebuild
index 986c10b7a447..f8a9435a32cb 100644
--- a/sci-libs/NNPACK/NNPACK-2020.12.22.ebuild
+++ b/sci-libs/NNPACK/NNPACK-2020.12.22.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2022 Gentoo Authors
+# Copyright 2022-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -44,6 +44,11 @@ python_check_deps() {
        python_has_version "dev-python/PeachPy[${PYTHON_USEDEP}]"
 }
 
+src_prepare() {
+       sed -i -e "/-O/d" CMakeLists.txt || die
+       cmake_src_prepare
+}
+
 src_configure() {
        local mycmakeargs=(
                -DNNPACK_BUILD_TESTS=$(usex test ON OFF)

Reply via email to