build: Add -no-undefined where missing

Signed-off-by: orbea <orbea@riseup.net>
This commit is contained in:
orbea
2021-05-22 18:55:06 -07:00
parent 9649fe1ddc
commit c437afa825
5 changed files with 6 additions and 0 deletions

View File

@@ -20,6 +20,8 @@ if HAVE_LINUX_ISER
libiscsipriv_la_LIBADD = -libverbs -lrdmacm -lpthread
endif
libiscsipriv_la_LDFLAGS = -no-undefined
libiscsipriv_la_CPPFLAGS = -I${srcdir}/../include -I$(srcdir)/include \
"-D_U_=__attribute__((unused))" \
"-D_R_(A,B)=__attribute__((format(printf,A,B)))"