Get the build working

This commit is contained in:
Justine Tunney 2023-03-15 02:52:31 -07:00
parent 47857e564c
commit 2788f373be
No known key found for this signature in database
GPG Key ID: BE714B4575D6E328
2 changed files with 3 additions and 2 deletions

View File

@ -30,8 +30,8 @@ endif
# Compile flags
#
CFLAGS = -I. -O3 -DNDEBUG -std=c11 -fPIC
CXXFLAGS = -I. -I./examples -O3 -DNDEBUG -std=c++11 -fPIC
CFLAGS = -I. -O3 -DNDEBUG -std=c11 -fPIC -g -fno-omit-frame-pointer
CXXFLAGS = -I. -I./examples -O3 -DNDEBUG -std=c++11 -fPIC -g -fno-omit-frame-pointer
LDFLAGS =
# OS specific

1
ggml.c
View File

@ -1,3 +1,4 @@
#define _GNU_SOURCE
#include "ggml.h"
#if defined(_MSC_VER) || defined(__MINGW32__)