]> xenbits.xensource.com Git - people/pauldu/xen.git/commitdiff
tools/libs/vchan: Don't run the headers check
authorAndrew Cooper <andrew.cooper3@citrix.com>
Mon, 14 Sep 2020 09:24:19 +0000 (10:24 +0100)
committerWei Liu <wl@xen.org>
Mon, 14 Sep 2020 09:49:15 +0000 (09:49 +0000)
There was never a headers check previously, and CentOS 6 can't cope with the
anonymous union in struct libxenvchan.

  cc1: warnings being treated as errors
  ... tools/include/libxenvchan.h:75: error: declaration does not declare anything
  make[6]: *** [headers.chk] Error 1

Fixes: 8ab2429f12 ("tools: split libxenvchan into new tools/libs/vchan directory")
Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: Wei Liu <wl@xen.org>
tools/libs/vchan/Makefile

index 87ff608f456f1a2776b665e5c8bcc41ba18b0671..5e18d5b19603b4388ed4e3160dc1dc72b573f1ac 100644 (file)
@@ -8,6 +8,8 @@ LIBHEADER := libxenvchan.h
 SRCS-y += init.c
 SRCS-y += io.c
 
+NO_HEADERS_CHK := y
+
 include $(XEN_ROOT)/tools/libs/libs.mk
 
 $(PKG_CONFIG_LOCAL): PKG_CONFIG_INCDIR = $(XEN_libxenvchan)/include