using -lpthread for linking isn't necessary
parent
89c624b755
commit
39e81bd486
3
Makefile
3
Makefile
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue