Skip to content

Commit

Permalink
Threading fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Apr 19, 2001
1 parent 6c82fc1 commit 51a1db6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Makefile
Expand Up @@ -203,7 +203,7 @@ BINDIR := bin
SRCDIR := src

CFLAGS += $(USE_ASM) -I$(SRCDIR) -D_REENTRANT -fsigned-char -DPLATFORM_UNIX
CFLAGS += -Wall -Werror -fexceptions -frtti
CFLAGS += -Wall -Werror -fexceptions -frtti -D_REENTRANT

ifeq ($(strip $(debugging)),true)
CFLAGS += -DDEBUG -g -fno-omit-frame-pointer
Expand Down Expand Up @@ -238,6 +238,7 @@ ifeq ($(strip $(platform_threads)),pthreads)
THREADSRCS := platform/threads/pthreads/PthreadsThread.cpp \
platform/threads/pthreads/PthreadsMutex.cpp
THREADSDIR := pthreads
LDFLAGS += -lpthread
valid_threads_target := true
endif

Expand Down

0 comments on commit 51a1db6

Please sign in to comment.