sci-ml/ollama: drop -O2 flag from go file

Closes: https://bugs.gentoo.org/953877
Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com>
This commit is contained in:
Paul Zander
2025-04-16 14:16:34 +02:00
parent bf4efd7534
commit 3670bb4d97
2 changed files with 2 additions and 2 deletions

View File

@@ -94,7 +94,7 @@ src_prepare() {
-i CMakeLists.txt || die sed
sed \
-e "s/-O3/$(get-flag O)/g" \
-e "s/ -O3//g" \
-i ml/backend/ggml/ggml/src/ggml-cpu/cpu.go || die sed
# fix library location

View File

@@ -94,7 +94,7 @@ src_prepare() {
-i CMakeLists.txt || die sed
sed \
-e "s/-O3/$(get-flag O)/g" \
-e "s/ -O3//g" \
-i ml/backend/ggml/ggml/src/ggml-cpu/cpu.go || die sed
# fix library location