Message ID | 20240522005913.3540131-66-edliaw@google.com (mailing list archive) |
---|---|
State | Handled Elsewhere |
Headers | show
Received: from mail-pl1-f202.google.com (mail-pl1-f202.google.com [209.85.214.202]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C7C6E3FB96 for <linux-security-module@vger.kernel.org>; Wed, 22 May 2024 01:02:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.202 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716339760; cv=none; b=iePPe5eiBCPa3sgyHa0GUPtqWPcbPzr66A/1PFjtwdfA1TaA5CkxsP1ahbaFeCPn+pHMuDjrVVEZp2207ahJMaSHJvshyp5MHzFJiIumKlM1TmcmzHsMPjAj9LWEhha4/37UPYfyx1+jsGPeBviZ7md+BCrFp5wtHUlv9KuC/ds= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716339760; c=relaxed/simple; bh=4TJ9KnGVL7+630dLfE+B26mDy9GQEt32Ng1AK59vk04=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=svU+HGVu81B0EXeGcEzqNTItGRsKaQ5iZE1ZRuGxYGtahdScrEFFWnX76CdBozv9uBLhGUurYrP/owkAJoJhK++EX3Q+uA/Gc1N/WxDACT7+8x5MIHVb0U3RBZRlA2OSBLoZ26zI6hFH0xF9ndnniF5yOMW7HLyDQFlosrGzHAs= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com; spf=pass smtp.mailfrom=flex--edliaw.bounces.google.com; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b=bZ+xhW3X; arc=none smtp.client-ip=209.85.214.202 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=flex--edliaw.bounces.google.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="bZ+xhW3X" Received: by mail-pl1-f202.google.com with SMTP id d9443c01a7336-1edcfcaa2a4so128755815ad.0 for <linux-security-module@vger.kernel.org>; Tue, 21 May 2024 18:02:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1716339758; x=1716944558; darn=vger.kernel.org; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:from:to:cc:subject:date:message-id:reply-to; bh=EY5v4vW6zuGUWHn5v3Q67qpIi54gAcWCg0e6EyybCAo=; b=bZ+xhW3XF5p3WUl6h3YDmNelPNKHBtgynK7HIuwayLHp4DS3jkNIYQkCLcQe8RGjVU DW7a3+HhtbMjWvbI5wHAgCoH3YWEAkhRDE8r2JFNE5mhNKReYC+WW58KJf0L/9r1SbYm Kl24t+i2Pi4FCm/8IXLxGgfLTyUcHKVzw8l34BnhT3mFkDXUTXPwHC4XTSPBIWRbVGEf v++KLTreaJR9jV+0haHcRMDJYVBm7k+732cD7IwyZgLfoS+uIjtm7i031p5HAgI3x8Cp ZRlJYXcXgI0ow/0ttMK9wjakyy8MS8sVj0HiD3n+TGwXO0NGkO/LQJkVKR6fT+v7V1VH kXOQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716339758; x=1716944558; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=EY5v4vW6zuGUWHn5v3Q67qpIi54gAcWCg0e6EyybCAo=; b=VYKn/ccdqXuHf6sQwfm7nE6y9TAaLp5NP4oUUmGpnzHuimG8jC+zWUIabSFZ4emQg6 3+HjPBnSj1c0i+fCaWXWQQuSSKU8jtw4+bbBFcN0aRdW10v1I002KJdYnDLhwjID967H i8m4mt5FsKDXtQZ/mbJNH81JrOLhdhXsG987GUCEHJmTpi310rzIhYPgMelATx8GhEFa nOyyZDvrFN4cxE7mydEXxoH86MJKwky+TUL/mxSpwvmT2xXuaz1/1wQtsrbwTGbREcok VBu/7RP8HIhYTakeSyiZKchr2UXFn2qf1qdyhSqXOjknpV6OdmiozYtSCYN/Dc9cxKvq 7qhg== X-Forwarded-Encrypted: i=1; AJvYcCW5soFB3mR7TWjTecHDAbFqn6uA/0V22oNXQuQr0OrbctNqP1ypGC/ECRdB6GHhXQjvYswgzrWQ82fXh/PvSNlA2nzxWhSL+mSt80hQtWb3PMT5hjMG X-Gm-Message-State: AOJu0Yzlm3nwd6907GIiE0PqPC2OOLr+FADIX1if/xsmmhivyoykxEvN NHCsiTRbweKXhYm15LV9q17KC92XHbFhnKsBz76R6WdqkGnLOGPBOTytAWdcKnl/kdEVL9A7GV8 0iA== X-Google-Smtp-Source: AGHT+IEx273+qW/DV4uOgH8Knay37/ukzBb9Gp8aRj7jknrJ931FW//nLLnnBAL0LEjWeDb8f6l1RtSdL7g= X-Received: from edliaw.c.googlers.com ([fda3:e722:ac3:cc00:24:72f4:c0a8:305d]) (user=edliaw job=sendgmr) by 2002:a17:902:ecc6:b0:1f3:82d:95c0 with SMTP id d9443c01a7336-1f31c9dc851mr382085ad.12.1716339758083; Tue, 21 May 2024 18:02:38 -0700 (PDT) Date: Wed, 22 May 2024 00:57:51 +0000 In-Reply-To: <20240522005913.3540131-1-edliaw@google.com> Precedence: bulk X-Mailing-List: linux-security-module@vger.kernel.org List-Id: <linux-security-module.vger.kernel.org> List-Subscribe: <mailto:linux-security-module+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-security-module+unsubscribe@vger.kernel.org> Mime-Version: 1.0 References: <20240522005913.3540131-1-edliaw@google.com> X-Mailer: git-send-email 2.45.1.288.g0e0cd299f1-goog Message-ID: <20240522005913.3540131-66-edliaw@google.com> Subject: [PATCH v5 65/68] selftests/vDSO: Append to CFLAGS in Makefile From: Edward Liaw <edliaw@google.com> To: shuah@kernel.org, " =?utf-8?q?Micka=C3=ABl_Sala=C3=BCn?= " <mic@digikod.net>, " =?utf-8?q?G?= =?utf-8?q?=C3=BCnther_Noack?= " <gnoack@google.com>, Christian Brauner <brauner@kernel.org>, Richard Cochran <richardcochran@gmail.com>, Paul Walmsley <paul.walmsley@sifive.com>, Palmer Dabbelt <palmer@dabbelt.com>, Albert Ou <aou@eecs.berkeley.edu>, Alexei Starovoitov <ast@kernel.org>, Daniel Borkmann <daniel@iogearbox.net>, "David S. Miller" <davem@davemloft.net>, Jakub Kicinski <kuba@kernel.org>, Jesper Dangaard Brouer <hawk@kernel.org>, John Fastabend <john.fastabend@gmail.com> Cc: linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, kernel-team@android.com, Edward Liaw <edliaw@google.com>, linux-security-module@vger.kernel.org, netdev@vger.kernel.org, linux-riscv@lists.infradead.org, bpf@vger.kernel.org Content-Type: text/plain; charset="UTF-8" |
Series |
Define _GNU_SOURCE for sources using
|
expand
|
diff --git a/tools/testing/selftests/vDSO/Makefile b/tools/testing/selftests/vDSO/Makefile index d53a4d8008f9..fd36979435b6 100644 --- a/tools/testing/selftests/vDSO/Makefile +++ b/tools/testing/selftests/vDSO/Makefile @@ -12,7 +12,7 @@ TEST_GEN_PROGS += $(OUTPUT)/vdso_standalone_test_x86 endif TEST_GEN_PROGS += $(OUTPUT)/vdso_test_correctness -CFLAGS := -std=gnu99 +CFLAGS += -std=gnu99 CFLAGS_vdso_standalone_test_x86 := -nostdlib -fno-asynchronous-unwind-tables -fno-stack-protector LDFLAGS_vdso_test_correctness := -ldl ifeq ($(CONFIG_X86_32),y)
Instead of overwriting the CFLAGS that is imported from lib.mk, append to it instead. Signed-off-by: Edward Liaw <edliaw@google.com> --- tools/testing/selftests/vDSO/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)