Message ID | 20200914092420.20900-2-andrew.cooper3@citrix.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | Build fixes | expand |
On Mon, Sep 14, 2020 at 10:24:19AM +0100, Andrew Cooper wrote: > 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>
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
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> --- CC: Juergen Gross <jgross@suse.com> CC: Ian Jackson <Ian.Jackson@citrix.com> CC: Wei Liu <wl@xen.org> --- tools/libs/vchan/Makefile | 2 ++ 1 file changed, 2 insertions(+)