Browse Source

to compile it by clang++ we need to disalbe -Werror.

git-svn-id: svn://bind10.isc.org/svn/bind10/branches/trac327@3507 e5f2f494-b856-4b98-b285-d166d9295462
JINMEI Tatuya 14 years ago
parent
commit
35eef4b40d
1 changed files with 4 additions and 0 deletions
  1. 4 0
      src/lib/asiolink/Makefile.am

+ 4 - 0
src/lib/asiolink/Makefile.am

@@ -26,4 +26,8 @@ libasiolink_la_CXXFLAGS = $(AM_CXXFLAGS)
 if USE_GXX
 libasiolink_la_CXXFLAGS += -Wno-unused-parameter
 endif
+if USE_CLANGPP
+# Same for clang++, but we need to turn off -Werror completely.
+libasiolink_la_CXXFLAGS += -Wno-error
+endif
 libasiolink_la_CPPFLAGS = $(AM_CPPFLAGS)