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 52CEA43B67 for ; Fri, 8 Mar 2024 15:24:35 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 475EE40E2D; 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 CAB3A40291 for ; Fri, 8 Mar 2024 15:24:33 +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-f198.google.com (mail-lj1-f198.google.com [209.85.208.198]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-401-G4l5kyoNO2WuWR7WEf4xDA-1; Fri, 08 Mar 2024 09:24:32 -0500 X-MC-Unique: G4l5kyoNO2WuWR7WEf4xDA-1 Received: by mail-lj1-f198.google.com with SMTP id 38308e7fff4ca-2d4023e83f4so7490871fa.2 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=k7n5G3+itzsaEhA0JwGZVuW5ZLF2w6lOxG9ibn+MbHbZwP3TykJDKfIK+pcGVAX6LF glGkmRhzxor/Dtl0OaQ5XNFJM9TaKzCB8NvM//N/7xf+S3CRqXKu3FjcmK7GXJ1gjAV5 oZmEttrgJqMrU2lNxSAHiaUbdrpD3VghN9IsT4xdCsIYej2v6K3yf0CdeW1XwfiAiEjw xEZFcRR+wM49xJq6YoNxYeeGYBvU7w7GDkO0yFI1OY81hbvThF8eOMMNNe0ajZ2WPcdO azPJAdz93PCRWM6zLm8aifjUzj1s9ovdtivc4Str1Ti3oJr5mq4DSefcnq88X1pBzAYy 9C0A== X-Forwarded-Encrypted: i=1; AJvYcCUuzqNkk3zorB1M3S7axEMrcBw33mjxOVdEoBzUvRyhtu0Fr9wqekE04xBKU/VKcgWNui1E6q0hyk6l4v2TwFM= X-Gm-Message-State: AOJu0YxcTT89X77ndNbuj3nuMsJFWxQj32IYbw4D8iJiLO/fDNH3Rg6Z tYOAtQ0REPh5HEQxt2LgDLJ5GEfvp6vXpgtkmgfXOHb688Ts/Au1R8LFwqxWK+C/OeIKgBOhKQu vHozm5vFTXFHZz1N9W32oLTA9bqcL2yKbLbHgjsw20+hS/C3dpnJsQZgjoic5KRaTKIwsa7CYDU t7EMQpFJ4uhzziaRmmumE= X-Received: by 2002:a05:651c:c2:b0:2d4:1700:34a2 with SMTP id 2-20020a05651c00c200b002d4170034a2mr2154427ljr.33.1709907870677; 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: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-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