From nobody Thu Apr 9 15:01:26 2026 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D8C5D34D4CA; Sun, 8 Mar 2026 16:50:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.140.110.172 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772988622; cv=none; b=naTGXM4Mq/GdxlFEeh+8D7FeLvtjpJRgRGPNDnAeBNEXn7nIJy+xVhJDQJZL0iTv3bVt5M1qA+zr5TyzaOgUV0sDxopRsy5YZN4/AC0MWwneMvWFFx/Fi8y3NKBfvcXrGQAwyrDG/8yIxE+4sTELI1Lgcvt3OVtFQC2GnyoN/6s= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772988622; c=relaxed/simple; bh=4jS6VhC1o17u3kAOSFbl/nskx5znu+8CYsSgrzPEvW4=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=nmlrDPxXRBZayaahpZTj5YJZq+kN4ttX0EEIsOBONp5KwaBXnPb1nb74fBSrapIEqoP5OPGWTsoq/dGrSJMKsios3EslB6GVZTm+d7EyEmSzXfmEvX09c3LAVHRxpgTI73IqLrXbRczUCPVZNIBpLTjDAViyBKSa8JykdwqIK3o= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com; spf=pass smtp.mailfrom=arm.com; arc=none smtp.client-ip=217.140.110.172 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=arm.com Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 018801E2F; Sun, 8 Mar 2026 09:50:10 -0700 (PDT) Received: from e132581.arm.com (e132581.arm.com [10.1.196.87]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 309053F694; Sun, 8 Mar 2026 09:50:08 -0700 (PDT) From: Leo Yan Date: Sun, 08 Mar 2026 16:46:32 +0000 Subject: [PATCH v3 27/30] selftests/bpf: Append extra cflags Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20260308-tools_build_fix_zero_init-v3-27-6477808123b7@arm.com> References: <20260308-tools_build_fix_zero_init-v3-0-6477808123b7@arm.com> In-Reply-To: <20260308-tools_build_fix_zero_init-v3-0-6477808123b7@arm.com> To: Arnaldo Carvalho de Melo , Ian Rogers , Namhyung Kim , James Clark , Kees Cook , Quentin Monnet , Nathan Chancellor , Nicolas Schier , Nick Desaulniers , Bill Wendling , Justin Stitt , Alexei Starovoitov , Daniel Borkmann , Andrii Nakryiko , Martin KaFai Lau , Eduard Zingerman , Song Liu , Yonghong Song , John Fastabend , KP Singh , Stanislav Fomichev , Hao Luo , Jiri Olsa , "Rafael J. Wysocki" , Daniel Lezcano , Zhang Rui , Lukasz Luba , Peter Zijlstra , Ingo Molnar , Mark Rutland , Alexander Shishkin , Adrian Hunter , Masami Hiramatsu , William Breathitt Gray , Barry Song , Qinxin Xia , Bartosz Golaszewski , Kent Gibson , "K. Y. Srinivasan" , Haiyang Zhang , Wei Liu , Dexuan Cui , Long Li , Jonathan Cameron , David Lechner , =?utf-8?q?Nuno_S=C3=A1?= , Andy Shevchenko , Andrew Morton , Willy Tarreau , =?utf-8?q?Thomas_Wei=C3=9Fschuh?= , Josh Poimboeuf , Robert Moore , Len Brown , Srinivas Pandruvada , Tejun Heo , David Vernet , Andrea Righi , Changwoo Min , Mark Brown , Steven Rostedt , Gabriele Monaco , Shuah Khan , Jiri Kosina , Benjamin Tissoires Cc: linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org, llvm@lists.linux.dev, bpf@vger.kernel.org, linux-perf-users@vger.kernel.org, Leo Yan X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1772988384; l=802; i=leo.yan@arm.com; s=20250604; h=from:subject:message-id; bh=4jS6VhC1o17u3kAOSFbl/nskx5znu+8CYsSgrzPEvW4=; b=He5d9nEDUf5L+pmtpZpqbqoiP2twA3IIn0Jwwz3Rkg2vE//5IvmnZeo/2FkQelpsDshG/pGP5 hU7yfDtzAnBA9w5M6YU5Bdti4hRw+irDusMQU1Z8e4lxM/IfcXXQUxx X-Developer-Key: i=leo.yan@arm.com; a=ed25519; pk=k4BaDbvkCXzBFA7Nw184KHGP5thju8lKqJYIrOWxDhI= Append EXTRA_CFLAGS to CFLAGS so that additional flags can be applied to the compiler. Signed-off-by: Leo Yan --- tools/testing/selftests/bpf/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/testing/selftests/bpf/Makefile b/tools/testing/selftests= /bpf/Makefile index 72a9ba41f95ebb825d25799c07ba3f0311243e45..29dfcdbe98c781b53f1e87dcebe= cf2027bafcd5d 100644 --- a/tools/testing/selftests/bpf/Makefile +++ b/tools/testing/selftests/bpf/Makefile @@ -49,6 +49,7 @@ srctree :=3D $(patsubst %/,%,$(dir $(srctree))) srctree :=3D $(patsubst %/,%,$(dir $(srctree))) endif =20 +CFLAGS +=3D $(EXTRA_CFLAGS) CFLAGS +=3D -g $(OPT_FLAGS) -rdynamic -std=3Dgnu11 \ -Wall -Werror -fno-omit-frame-pointer \ -Wno-unused-but-set-variable \ --=20 2.34.1