using -lpthread for linking isn't necessary

This commit is contained in:
Daniel Micay 2018-09-02 02:12:45 -04:00
parent 89c624b755
commit 39e81bd486

View File

@ -1,7 +1,6 @@
CPPFLAGS := -D_GNU_SOURCE CPPFLAGS := -D_GNU_SOURCE
CFLAGS := -std=c11 -Wall -Wextra -O2 -flto -fPIC -fvisibility=hidden -fno-plt CFLAGS := -std=c11 -Wall -Wextra -O2 -flto -fPIC -fvisibility=hidden -fno-plt
LDFLAGS := -Wl,--as-needed,-z,defs,-z,relro,-z,now LDFLAGS := -Wl,-z,defs,-z,relro,-z,now
LDLIBS := -lpthread
OBJECTS := chacha.o malloc.o memory.o pages.o random.o util.o OBJECTS := chacha.o malloc.o memory.o pages.o random.o util.o
hardened_malloc.so: $(OBJECTS) hardened_malloc.so: $(OBJECTS)