From nobody Mon Apr 6 20:12:42 2026 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4C72F3A6EEC; Wed, 18 Mar 2026 09:19:39 +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=1773825580; cv=none; b=eU9iPEZ/Sp/HPr8diXnvage0SsW6sRq6VoqoRAaGH3xwe25unU4G6W41Ii3K7rc3fSBoSnqTfncuyNrhBhSEvyNQ5OhwPtgFfpYSsnIJk/AbUmbX5mfcN1RCUTVjyiB9X9R26p12vvrT/Aqcq/BPFALP7+1mYvqxqWlTLGolP3M= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773825580; c=relaxed/simple; bh=wVjQowvxpAB2zn18RKm3JYBDwmaeJ2pheT83qKWdB5M=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=hcpQjfQaNAZiPc27i0gyFBluo+l7MuZPPVVP7YxglrIiv46k3au486FHScpPr+ZhtnJ6LCyq9fxKRWqFABunJnlgel1XKvkD4hKUk0I5ZRvfrRCq85wTrLXxW1uK6Lh5oGpgSDyjztkWy7uVOb7/AIy3WjBmkCqnU9CDyWsYO4Q= 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 AC487204C; Wed, 18 Mar 2026 02:19:32 -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 D00393F73B; Wed, 18 Mar 2026 02:19:29 -0700 (PDT) From: Leo Yan Date: Wed, 18 Mar 2026 09:17:00 +0000 Subject: [PATCH v5 16/26] tools: mm: 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: <20260318-tools_build_fix_zero_init-v5-16-bbeffd8da199@arm.com> References: <20260318-tools_build_fix_zero_init-v5-0-bbeffd8da199@arm.com> In-Reply-To: <20260318-tools_build_fix_zero_init-v5-0-bbeffd8da199@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=1773825421; l=615; i=leo.yan@arm.com; s=20250604; h=from:subject:message-id; bh=wVjQowvxpAB2zn18RKm3JYBDwmaeJ2pheT83qKWdB5M=; b=OfIPz2NK+eKf4M/YHZZRCeJ8LVckjXpTtx4gGc+J5cizMQkF0kZl47pUTo8qSv9h4/doPBc2G VhDFahFTMdkCZDJZ9HH6SFXcWo28JZ+fa1g6N7Oxb/fQCKR78HUTvIe 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/mm/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/mm/Makefile b/tools/mm/Makefile index f5725b5c23aa261994b5b42f37c443bee2edebf2..d48491da2edc95fca57c0707c42= 961fde7b02072 100644 --- a/tools/mm/Makefile +++ b/tools/mm/Makefile @@ -10,6 +10,7 @@ LIB_DIR =3D ../lib/api LIBS =3D $(LIB_DIR)/libapi.a =20 CFLAGS +=3D -Wall -Wextra -I../lib/ -pthread +CFLAGS +=3D $(EXTRA_CFLAGS) LDFLAGS +=3D $(LIBS) -pthread =20 all: $(BUILD_TARGETS) --=20 2.34.1