|
@@ -17,3 +17,13 @@ libresolve_la_SOURCES += response_classifier.cc response_classifier.h
|
|
|
libresolve_la_SOURCES += recursive_query.cc recursive_query.h
|
|
|
libresolve_la_LIBADD = $(top_builddir)/src/lib/dns/libdns++.la
|
|
|
libresolve_la_LIBADD += $(top_builddir)/src/lib/exceptions/libexceptions.la
|
|
|
+
|
|
|
+# Note: the ordering matters: -Wno-... must follow -Wextra (defined in
|
|
|
+# B10_CXXFLAGS)
|
|
|
+libresolve_la_CXXFLAGS = $(AM_CXXFLAGS)
|
|
|
+if USE_CLANGPP
|
|
|
+# For clang++, we need to turn off -Werror completely.
|
|
|
+libresolve_la_CXXFLAGS += -Wno-error
|
|
|
+endif
|
|
|
+libresolve_la_CPPFLAGS = $(AM_CPPFLAGS)
|
|
|
+
|