mirror of
https://github.com/ollama/ollama.git
synced 2025-08-26 01:41:43 +02:00
all: fix cgo compiler warnings on windows (#10563)
This commit is contained in:
@@ -3,6 +3,7 @@ package ggml
|
||||
// #cgo CXXFLAGS: -std=c++17
|
||||
// #cgo CPPFLAGS: -DNDEBUG -DGGML_USE_CPU
|
||||
// #cgo CPPFLAGS: -I${SRCDIR}/../include -I${SRCDIR}/ggml-cpu
|
||||
// #cgo windows CFLAGS: -Wno-dll-attribute-on-redeclaration
|
||||
// #cgo windows LDFLAGS: -lmsvcrt -static -static-libgcc -static-libstdc++
|
||||
// #include <stdlib.h>
|
||||
// #include "ggml-backend.h"
|
||||
|
Reference in New Issue
Block a user