From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.0 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id D9C2FC04EBA for ; Sun, 25 Nov 2018 09:20:20 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id AD52E2086E for ; Sun, 25 Nov 2018 09:20:20 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org AD52E2086E Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=inai.de Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727574AbeKYUK5 (ORCPT ); Sun, 25 Nov 2018 15:10:57 -0500 Received: from a3.inai.de ([88.198.85.195]:54026 "EHLO a3.inai.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727558AbeKYUK5 (ORCPT ); Sun, 25 Nov 2018 15:10:57 -0500 Received: by a3.inai.de (Postfix, from userid 65534) id B50A9F8B1F; Sun, 25 Nov 2018 10:20:17 +0100 (CET) Received: from a4.inai.de (a4.inai.de [IPv6:2a01:4f8:222:6c9::f8]) by a3.inai.de (Postfix) with ESMTP id 1C00CF8B1A; Sun, 25 Nov 2018 10:20:14 +0100 (CET) From: Jan Engelhardt To: luiz.dentz@gmail.com Cc: linux-bluetooth@vger.kernel.org Subject: [PATCH 5/8] build: add missing ELL_CFLAGS Date: Sun, 25 Nov 2018 10:20:09 +0100 Message-Id: <20181125092012.8001-6-jengelh@inai.de> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20181125092012.8001-1-jengelh@inai.de> References: <20181125092012.8001-1-jengelh@inai.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-bluetooth-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org Some targets link ELL_LIBS, which means they also need ELL_CFLAGS in their (or the global) CPPFLAGS. --- Makefile.am | 1 + Makefile.mesh | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/Makefile.am b/Makefile.am index 00490d1c3..5d7bc06b9 100644 --- a/Makefile.am +++ b/Makefile.am @@ -140,6 +140,7 @@ src_libshared_mainloop_la_SOURCES = $(shared_sources) \ if ELL src_libshared_ell_la_SOURCES = $(shared_sources) \ src/shared/io-ell.c +src_libshared_ell_la_CPPFLAGS = $(AM_CPPFLAGS) $(ELL_CFLAGS) noinst_LTLIBRARIES += src/libshared-ell.la endif diff --git a/Makefile.mesh b/Makefile.mesh index 50bcc19ad..4de22ba8c 100644 --- a/Makefile.mesh +++ b/Makefile.mesh @@ -21,6 +21,8 @@ mesh_sources = mesh/mesh.h mesh/mesh.c \ mesh/mesh-defs.h libexec_PROGRAMS += mesh/meshd +mesh_meshd_CPPFLAGS = $(AM_CPPFLAGS) $(ELL_CFLAGS) + mesh_meshd_SOURCES = $(mesh_sources) mesh/main.c mesh_meshd_LDADD = src/shared/ecc.lo src/shared/queue.lo src/shared/io-ell.lo \ @@ -34,6 +36,8 @@ mesh_btmesh_SOURCES = $(mesh_sources) \ mesh/agent.c \ mesh/btmesh.c +mesh_btmesh_CPPFLAGS = $(AM_CPPFLAGS) $(ELL_CFLAGS) + mesh_btmesh_LDADD = src/shared/ecc.lo src/shared/queue.lo src/shared/io-ell.lo \ src/shared/util.lo src/shared/hci.lo src/shared/mgmt.lo \ src/libshared-mainloop.la \ -- 2.19.1