mirror of
https://github.com/ollama/ollama.git
synced 2026-04-17 18:54:15 +02:00
cgo: suppress deprecated warning to quiet down go build (#15438)
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
package common
|
||||
|
||||
// #cgo CXXFLAGS: -std=c++17
|
||||
// #cgo CXXFLAGS: -std=c++17 -Wno-deprecated-declarations
|
||||
// #cgo CPPFLAGS: -I${SRCDIR}/../include -I${SRCDIR}/../vendor
|
||||
// #cgo CPPFLAGS: -I${SRCDIR}/../../../ml/backend/ggml/ggml/include
|
||||
import "C"
|
||||
|
||||
Reference in New Issue
Block a user