Skip to content
This repository has been archived by the owner on Nov 4, 2019. It is now read-only.

Commit

Permalink
make: fix build on linux
Browse files Browse the repository at this point in the history
  • Loading branch information
hellerve committed Dec 3, 2018
1 parent d27d06a commit 13830b5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ BUILDDIR=bin/
PREFIX=/usr/local/bin/
SOURCES=$(wildcard src/*.c)
MAIN=main.c
override CFLAGS+=-std=c11 -O2 -Wno-gnu
override CFLAGS+=-std=c11 -O2 -Wno-gnu -lpthread
DEVFLAGS=-Werror -Wall -g -fPIC -DNDEBUG -Wfloat-equal -Wundef -Wwrite-strings -Wuninitialized -pedantic -fsanitize=address -O0

all: main.c
Expand Down
1 change: 1 addition & 0 deletions src/eval.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#define _DEFAULT_SOURCE
#include <pthread.h>
#include <stdio.h>
#include <stdlib.h>
Expand Down

0 comments on commit 13830b5

Please sign in to comment.