mirror of
https://github.com/isc-projects/bind9.git
synced 2026-02-23 01:40:23 -05:00
When liburcu is not installed from a system package, its headers are not treated as system headers by the compiler, so BIND's -Werror and other warning options take effect. The liburcu headers have a lot of inline functions, some of which do not use all their arguments, which BIND's build treats as an error.
35 lines
669 B
Makefile
35 lines
669 B
Makefile
include $(top_srcdir)/Makefile.top
|
|
|
|
AM_CFLAGS += -Wno-vla
|
|
|
|
AM_CPPFLAGS += \
|
|
$(LIBUV_CFLAGS) \
|
|
$(LIBURCU_CFLAGS) \
|
|
$(LIBISC_CFLAGS) \
|
|
$(LIBDNS_CFLAGS) \
|
|
-I$(top_srcdir)/fuzz \
|
|
-I$(top_srcdir)/lib/dns \
|
|
-I$(top_srcdir)/lib/isc \
|
|
-I$(top_srcdir)/tests/include
|
|
|
|
LDADD += \
|
|
$(LIBUV_LIBS) \
|
|
$(LIBURCU_LIBS) \
|
|
$(LIBISC_LIBS) \
|
|
$(LIBDNS_LIBS) \
|
|
$(top_builddir)/tests/libtest/libtest.la
|
|
|
|
noinst_PROGRAMS = \
|
|
ascii \
|
|
compress \
|
|
dns_name_fromwire \
|
|
iterated_hash \
|
|
load-names \
|
|
qp-dump \
|
|
qpmulti \
|
|
siphash
|
|
|
|
dns_name_fromwire_SOURCES = \
|
|
$(top_builddir)/fuzz/old.c \
|
|
$(top_builddir)/fuzz/old.h \
|
|
dns_name_fromwire.c
|