From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 4DE1843B67; Fri, 8 Mar 2024 15:24:36 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 7DD2C432C4; Fri, 8 Mar 2024 15:24:35 +0100 (CET) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by mails.dpdk.org (Postfix) with ESMTP id 25DA340E2D for ; Fri, 8 Mar 2024 15:24:34 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1709907873; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=fjKXVDuiWOPmCYMz6R0ftrvkwlZNykLypLBX+wcGGOs=; b=fz+mkatp76RHN3w95YA6dFkZTHo1o/78U9uuqlgNntblUg4QlxWrdLJGmjAI6M5VUTJI3q jhhU29Caq8WdC+JIMQ7F74sdZC8atVwyWUdbeeK1AK/5UoinIe2tLkS4/hR9TLEDRWWvDR uNLx+1YVLjMGWuXBBZJBxd1DTh8yJas= Received: from mail-lj1-f200.google.com (mail-lj1-f200.google.com [209.85.208.200]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-359-TCjORw7fPJ-Jf_JJD1Oyzg-1; Fri, 08 Mar 2024 09:24:32 -0500 X-MC-Unique: TCjORw7fPJ-Jf_JJD1Oyzg-1 Received: by mail-lj1-f200.google.com with SMTP id 38308e7fff4ca-2d28e15171aso6382061fa.1 for ; Fri, 08 Mar 2024 06:24:31 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709907870; x=1710512670; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=fjKXVDuiWOPmCYMz6R0ftrvkwlZNykLypLBX+wcGGOs=; b=PIeUPGNotpzsYj1hbF/2OUhjPEP6oiBVCsa0VPfIXUNAYi9jw54H9uIB5Bn5R7TiAc cd5mwbgA339Z1qVaEdhltzABUSEcxXVJyKt0VuFtwR/oAOTYn8iMaLw9EwQH1YVTBihH XrP71TbtZOILfjj2Jkwe//mAUMnFlqpTdyhi/sr1FhBdrunsmD5wMnkMkFutQL70+YtN y2KvD07ie+Irtqpq4Y9uLXPT6fnZ9kVv8wJF/su43bJrYbANjRUOoiunjJhmjXN8CMEJ qM6Eecy4TXRR+wU5acfzie81VZ4phF1njP3Ak7qn2euKhBuOAYzAm6I0oYfE2XV6+Y+F ICYg== X-Gm-Message-State: AOJu0YwA82m18ZTgEFrJEmsPwwejV2TRtfCyHkPzjSEBjqGpCT6n84nl PqM49WW68SUA3EwFBILHfssYEhDS3aC7/mOTpV2GA7hLVdT6eKOEYUsT8VK+myeW2b5Y4bTk9Y0 W+Y5XEIDOy1fbnq2Kq2iM2YM0h46C2UqnoiXFz7HuJq5r3mQDLoQyoaTrGAoZ6FfhtPiC703yNa Pg7Qbs13uzQprWWAs= X-Received: by 2002:a05:651c:c2:b0:2d4:1700:34a2 with SMTP id 2-20020a05651c00c200b002d4170034a2mr2154429ljr.33.1709907870678; Fri, 08 Mar 2024 06:24:30 -0800 (PST) X-Google-Smtp-Source: AGHT+IG4NbrPj+GXK5bXH5hPfKiaxce8q7HXqfK5OMqvTRLxPCE4jAnPrpvRMM5I2o9usjHaO9UTHcV5yWo1fgAoVUc= X-Received: by 2002:a05:651c:c2:b0:2d4:1700:34a2 with SMTP id 2-20020a05651c00c200b002d4170034a2mr2154409ljr.33.1709907870337; Fri, 08 Mar 2024 06:24:30 -0800 (PST) MIME-Version: 1.0 References: <20240308115839.320793-2-rjarry@redhat.com> In-Reply-To: <20240308115839.320793-2-rjarry@redhat.com> From: David Marchand Date: Fri, 8 Mar 2024 15:24:18 +0100 Message-ID: Subject: Re: [PATCH] build: pass cflags in subproject To: Robin Jarry Cc: dev@dpdk.org, stable@dpdk.org, Stephen Hemminger , Ben Magistro , Bruce Richardson X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org On Fri, Mar 8, 2024 at 12:59=E2=80=AFPM Robin Jarry wro= te: > > When DPDK is used as a subproject, include the required compile > arguments so that the parent project is also built with the appropriate > cflags (most importantly -march). Use the same cflags as pkg-config. > > Fixes: f93a605f2d6e ("build: add definitions for use as Meson subproject"= ) > Cc: stable@dpdk.org > > Signed-off-by: Robin Jarry Reviewed-by: David Marchand --=20 David Marchand