[XEN PATCH 05/57] libs: Remove -Iinclude from CFLAGS

Anthony PERARD posted 57 patches 4 years, 2 months ago
There is a newer version of this series
[XEN PATCH 05/57] libs: Remove -Iinclude from CFLAGS
Posted by Anthony PERARD 4 years, 2 months ago
They are no more directory libs/*/include.

Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
---
 tools/libs/libs.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/libs/libs.mk b/tools/libs/libs.mk
index ebdb2a4782..830bdc851f 100644
--- a/tools/libs/libs.mk
+++ b/tools/libs/libs.mk
@@ -12,7 +12,7 @@ MINOR ?= 0
 SHLIB_LDFLAGS += -Wl,--version-script=libxen$(LIBNAME).map
 
 CFLAGS   += -Werror -Wmissing-prototypes
-CFLAGS   += -I./include $(CFLAGS_xeninclude)
+CFLAGS   += $(CFLAGS_xeninclude)
 CFLAGS   += $(foreach lib, $(USELIBS_$(LIBNAME)), $(CFLAGS_libxen$(lib)))
 
 LDUSELIBS = $(foreach lib, $(USELIBS_$(LIBNAME)), $(LDLIBS_libxen$(lib)))
-- 
Anthony PERARD


Re: [XEN PATCH 05/57] libs: Remove -Iinclude from CFLAGS
Posted by Juergen Gross 4 years, 2 months ago
On 06.12.21 18:01, Anthony PERARD wrote:
> They are no more directory libs/*/include.
> 
> Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>

Reviewed-by: Juergen Gross <jgross@suse.com>


Juergen