[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[xen staging] tools/libs/vchan: Don't run the headers check



commit 4f9a6165604b89da592860d9821b920eed79f5a2
Author:     Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
AuthorDate: Mon Sep 14 10:24:19 2020 +0100
Commit:     Wei Liu <wl@xxxxxxx>
CommitDate: Mon Sep 14 09:49:15 2020 +0000

    tools/libs/vchan: Don't run the headers check
    
    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@xxxxxxxxxx>
    Acked-by: Wei Liu <wl@xxxxxxx>
---
 tools/libs/vchan/Makefile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tools/libs/vchan/Makefile b/tools/libs/vchan/Makefile
index 87ff608f45..5e18d5b196 100644
--- a/tools/libs/vchan/Makefile
+++ b/tools/libs/vchan/Makefile
@@ -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
--
generated by git-patchbot for /home/xen/git/xen.git#staging



 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.