diff options
author | rofl0r <retnyg@gmx.net> | 2011-11-06 20:46:11 +0400 |
---|---|---|
committer | rofl0r <retnyg@gmx.net> | 2011-11-06 20:46:11 +0400 |
commit | 41e73ab58d2fa2bf047b93fd88d65e4a888836e6 (patch) | |
tree | ba5aff76efb92de80b6145a9191cd55f50a441ef /Makefile | |
parent | d5ae1f92026a0613ae8794ab8681fe238b4ac40e (diff) |
fix realloc and add a layer of threadsafety upon dns-list accesses
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -16,8 +16,8 @@ SRCS = $(sort $(wildcard src/*.c)) OBJS = $(SRCS:.c=.o) LOBJS = $(OBJS:.o=.lo) -CFLAGS += -Wall -O0 -g -std=c99 -D_GNU_SOURCE -pipe -LDFLAGS = -shared -fPIC -ldl +CFLAGS += -Wall -O0 -g -std=c99 -D_GNU_SOURCE -pipe -DTHREAD_SAFE +LDFLAGS = -shared -fPIC -ldl -lpthread INC = PIC = -fPIC -O0 AR = $(CROSS_COMPILE)ar |