From patchwork Mon Feb 5 11:56:10 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thierry Reding X-Patchwork-Id: 10200179 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 90FA86056A for ; Mon, 5 Feb 2018 11:56:18 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 82B2228632 for ; Mon, 5 Feb 2018 11:56:18 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 7758228734; Mon, 5 Feb 2018 11:56:18 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.1 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id ECD2A28632 for ; Mon, 5 Feb 2018 11:56:17 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 5AAD86E257; Mon, 5 Feb 2018 11:56:17 +0000 (UTC) X-Original-To: intel-gfx@lists.freedesktop.org Delivered-To: intel-gfx@lists.freedesktop.org Received: from mail-qk0-x243.google.com (mail-qk0-x243.google.com [IPv6:2607:f8b0:400d:c09::243]) by gabe.freedesktop.org (Postfix) with ESMTPS id 037616E257; Mon, 5 Feb 2018 11:56:16 +0000 (UTC) Received: by mail-qk0-x243.google.com with SMTP id d125so11663307qkg.13; Mon, 05 Feb 2018 03:56:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=1Fkqf6Ll37JJvODdzMqCZrq1MakiNuLU28Ep6gog0KE=; b=EOI4ssegmG9TByWPT18uens2OI/6TuS7BFeegITnSESqmiJ1aokSIC5g3MAueTbl59 o2U0632mxakGCxLZputKKlDHtN7jSKKjLHNO52IyQV7gEZJlITBNFMRQEUSNixxkf+9l /llcl4ZAghYHGXds8nctAEr0DepUI7Ya290HzRZS+595FedEb2NiefpTt247smkJbr97 9+NGrgBcnHS+/R5h4kHbaz3vdM05eY4CgzSUlsxzkRzfBG8ATb3hpLD+0TTDkS7ejchU IIiyCSNkVdPePkgZ9XYKOcPjYtraO5bOVPWpl1x2YlI3VN3bhAXjD3Bpy7JNPkbrgKz4 ljRA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=1Fkqf6Ll37JJvODdzMqCZrq1MakiNuLU28Ep6gog0KE=; b=AMT5+7xNxewfUmoHDVZ5UlgyKbr0B9EpDecYN6jhNSX5ZOZgU8nUAmpWiP6jaeeuEH pbtnqJq+b+oIdznrR3mU4NHc3xVcIx+WMeFuUfXMTE6HCfSIJ+1o9SoBjaYwV5fFTzqM ezuJe4ttvBLTh61P8LPhaReuMCWsBa6ZM9m+PAPL/9vMZywBPLLXdZTSX5PZ2Xhqe+Vw H1EfOh0ko6J95uz6qkSsPO7QxYk4nnx+EmsIidUrkYKwX6zHLut96cyhBuZ4yyRfVu3w Hhlqn3RBibyFzVi+9DrZAoa2fsJ6tQ8ATixNWnKKWtBoMtT7mt2QwH18r+wmubCS05No 9+cQ== X-Gm-Message-State: AKwxyteN2/FV4QLb4c08CkDF1gafMCYCcHcijF0wyBZ+rlxxHvI/NVVT 9DV3Vr8pPAuhMM2vUryicDBtrA== X-Google-Smtp-Source: AH8x225pBEpCzdwdwlkrw6dm/s0ACitBdbKa5mI16XnkNRW3fugr6kCvwZ0wFLbPKsogvmb8KbYgsg== X-Received: by 10.55.42.5 with SMTP id q5mr30358082qkh.206.1517831774812; Mon, 05 Feb 2018 03:56:14 -0800 (PST) Received: from localhost (p200300E41F41B00009B231EAB1BE76D4.dip0.t-ipconnect.de. [2003:e4:1f41:b000:9b2:31ea:b1be:76d4]) by smtp.gmail.com with ESMTPSA id n21sm5800662qtl.38.2018.02.05.03.56.13 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 05 Feb 2018 03:56:14 -0800 (PST) From: Thierry Reding To: igt-dev@lists.freedesktop.org Date: Mon, 5 Feb 2018 12:56:10 +0100 Message-Id: <20180205115611.23230-1-thierry.reding@gmail.com> X-Mailer: git-send-email 2.15.1 Subject: [Intel-gfx] [PATCH i-g-t 1/2] tests/testdisplay: Explicitly use GLIB_CFLAGS X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: intel-gfx@lists.freedesktop.org MIME-Version: 1.0 Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" X-Virus-Scanned: ClamAV using ClamSMTP From: Thierry Reding testdisplay.h includes the glib.h header file but the Makefile does not explicitly pass a -I option with the path containing that header, hence causing the build to fail. Note that this doesn't seem to happen with a recent enough version of cairo, which implicitly provides the correct -I option. Signed-off-by: Thierry Reding --- tests/Makefile.am | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/Makefile.am b/tests/Makefile.am index 1b9a7b0a2311..8472a6bf0a73 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -149,6 +149,8 @@ kms_chamelium_LDADD = $(LDADD) $(XMLRPC_LIBS) $(LIBUDEV_LIBS) audio_CFLAGS = $(AM_CFLAGS) $(ALSA_CFLAGS) audio_LDADD = $(LDADD) $(ALSA_LIBS) +testdisplay_CFLAGS = $(AM_CFLAGS) $(GLIB_CFLAGS) + amdgpu_amd_basic_CFLAGS = $(AM_CFLAGS) $(DRM_AMDGPU_CFLAGS) amdgpu_amd_basic_LDADD = $(LDADD) $(DRM_AMDGPU_LIBS) amdgpu_amd_cs_nop_CFLAGS = $(AM_CFLAGS) $(DRM_AMDGPU_CFLAGS)