Skip to content
This repository has been archived by the owner on Sep 19, 2018. It is now read-only.

Commit

Permalink
Update Makefile for OSX build
Browse files Browse the repository at this point in the history
  • Loading branch information
megakilo committed May 24, 2016
1 parent af46eb9 commit 4ba538d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,10 @@ CWARNS += -Wmissing-prototypes

CFLAGS += -m32
CFLAGS += -DDEBUG=1
CFLAGS += -g -pthread -DUSE_STDIO=1 -D__GCC_POSIX__=1
CFLAGS += -g -DUSE_STDIO=1 -D__GCC_POSIX__=1
ifneq ($(shell uname), Darwin)
CFLAGS += -pthread
endif

# MAX_NUMBER_OF_TASKS = max pthreads used in the POSIX port.
# Default value is 64 (_POSIX_THREAD_THREADS_MAX), the minimum number required by POSIX.
Expand Down

0 comments on commit 4ba538d

Please sign in to comment.