detect missing symbols when linking

This commit is contained in:
Daniel Micay 2018-08-28 11:13:17 -04:00
parent 803811a6ac
commit e72674e358

View File

@ -1,6 +1,6 @@
CPPFLAGS := -D_GNU_SOURCE
CFLAGS := -std=c11 -Wall -Wextra -O2 -flto -fPIC -fvisibility=hidden -pedantic
LDFLAGS := -Wl,--as-needed
LDFLAGS := -Wl,--as-needed,-z,defs
LDLIBS := -lpthread
OBJECTS := chacha.o malloc.o random.o util.o