diff mbox

[kvm-unit-tests] s390x: Add missing include directories for out-of-tree builds

Message ID 1520967672-7621-1-git-send-email-thuth@redhat.com (mailing list archive)
State New, archived
Headers show

Commit Message

Thomas Huth March 13, 2018, 7:01 p.m. UTC
Out-of-tree builds are currently not working on s390x since some
headers can not be found. Extend our include list to fix this problem.

Signed-off-by: Thomas Huth <thuth@redhat.com>
---
 s390x/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Paolo Bonzini March 15, 2018, 10:02 p.m. UTC | #1
On 13/03/2018 20:01, Thomas Huth wrote:
> Out-of-tree builds are currently not working on s390x since some
> headers can not be found. Extend our include list to fix this problem.
> 
> Signed-off-by: Thomas Huth <thuth@redhat.com>
> ---
>  s390x/Makefile | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/s390x/Makefile b/s390x/Makefile
> index 2d3336c..fe92f65 100644
> --- a/s390x/Makefile
> +++ b/s390x/Makefile
> @@ -9,7 +9,7 @@ test_cases: $(tests)
>  
>  CFLAGS += -std=gnu99
>  CFLAGS += -ffreestanding
> -CFLAGS += -I $(SRCDIR)/lib
> +CFLAGS += -I $(SRCDIR)/lib -I $(SRCDIR)/lib/s390x -I lib
>  CFLAGS += -O2
>  CFLAGS += -march=z900
>  CFLAGS += -fno-delete-null-pointer-checks
> 

Applied, thanks.

Paolo
diff mbox

Patch

diff --git a/s390x/Makefile b/s390x/Makefile
index 2d3336c..fe92f65 100644
--- a/s390x/Makefile
+++ b/s390x/Makefile
@@ -9,7 +9,7 @@  test_cases: $(tests)
 
 CFLAGS += -std=gnu99
 CFLAGS += -ffreestanding
-CFLAGS += -I $(SRCDIR)/lib
+CFLAGS += -I $(SRCDIR)/lib -I $(SRCDIR)/lib/s390x -I lib
 CFLAGS += -O2
 CFLAGS += -march=z900
 CFLAGS += -fno-delete-null-pointer-checks