Message ID | 20240522005913.3540131-22-edliaw@google.com |
---|---|
State | Superseded |
Headers | show
Received: from mail-pl1-f201.google.com (mail-pl1-f201.google.com [209.85.214.201]) (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 D28C71474C8 for <linux-kselftest@vger.kernel.org>; Wed, 22 May 2024 01:00:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716339632; cv=none; b=aquf/7GMc+Cafmdx7T/d7Nk7AhGUbrU8DKFH9fwzLR/V3/g5Pa5GEqPqtFot0dkrzd55SZY+gwjR/bEj680JFCznw0bYGU8E8o6gw4/Im20ubBOaSW5sRb07S65MG79HKn1yEtHOE2S9P9m0gvO7MT6z7Xdh1PlmvaNxlsxBQtA= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716339632; c=relaxed/simple; bh=dvwJtXLo89BRunIsgfbX0Q3xKjn6Yo5orBzSPFtXyy8=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=cpo5Q0mj/wg9BRLdF7XDAcashOjF0e07nEy5JpsXLg2sjHnarHj6kRZmhAN09Frd3AiRTLh9DuIGAaAiIU1vTLx8yXS4+1IGkHkYTJiyJAn2pJHAi+QUvhhpegKCcH9aEqFzLhMzPMwohJvggvn4FLVViGQmcx75tFnrSDsyevU= 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=P3UqdnQR; arc=none smtp.client-ip=209.85.214.201 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="P3UqdnQR" Received: by mail-pl1-f201.google.com with SMTP id d9443c01a7336-1eec5aba2bdso117445665ad.0 for <linux-kselftest@vger.kernel.org>; Tue, 21 May 2024 18:00:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1716339630; x=1716944430; 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=XgrygNW8FFpQrXyNymzaa0urS9281wEmpt9DzZAFNUw=; b=P3UqdnQRfgOynmmjYRrF0zB/krSqkn+l35vukzrNoJbfnyE4MpaIhrL0Wltr+Bf1r1 7ZSVHmFY08lE46qqNI5nzR2mx02ZV3d/qH92789QWEDbwTEiMHjB69yQpRvpn4mWZ8OI F0u3R2ES20XrOrsnAIq3/z1AN4rOilcXPA+6lHoKBz7h2J7YmQdtawKaMjmZk4XSQsgP gwVO7ZCI4hnVTTqdpzckkwJiQWA7GU4ylSu4DhS4agwXOH39cG9/TRNFrRQKZj1jmBHB gn8H+QdIuhXHz+IU4Y0xknVfjmG+ow9xCaWbJadDLrTO3dsx85KnuQBfyses7ImVFQfw EoIA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716339630; x=1716944430; 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=XgrygNW8FFpQrXyNymzaa0urS9281wEmpt9DzZAFNUw=; b=c7oGSeqrZJLP3dqHvUN56etwaHoQ8ElBDzWiWHHnoyeisP86GecpVuqYXqNlJNly8P cjjWckClophXZPpSN+20INYX4WURYyrAlAvyPC2R05DCzpbQ19fpuL7M/82oNv8LYAij 3hhHiL4q91eH6H3TgvvCN7ZUfGGADumS8TogkEKVP3XnvusIOeIQsw7p6dJxIqqUycLl 442mhj+GPwOAXYhnN6v863/g6HovnT2Ija0qsHaK9Mbap8xDAc8UcjpVMbDGEGz9SlVa git7qRluZXQMnnxXWBhBTUaKGrhyZ5EmpCtZXNpFwtqTZbKVB6MhtOquSjLUvq746YDr RjnA== X-Forwarded-Encrypted: i=1; AJvYcCWwgj8bd87kvPtHvmnyW1ug1ghySvEpJ1VJqc/gqXTwLvzFirYcGTDrsXc4sZBxn5/Tdu4LgzcXggBubBVvGlgDrkLS6rbULovaQnlGCSZy X-Gm-Message-State: AOJu0YxGOvySzfpA5KmxvqsyVccBKvw0FynsaK7isHce5lxM5qniWCFk NIFY7iA31kCfw6gzAJqgizKCli7D+VrgI0Zh51CfkTdmncBj2MWnkn30msp1je6oXn3eNQiosZm 2Sg== X-Google-Smtp-Source: AGHT+IGqHThcRUahWbcFDersReMiS//nm+v/RIRKei4uwQwaSYbb3yGxofUUHSGZKuMDuE2fmv9rxHnFGrE= X-Received: from edliaw.c.googlers.com ([fda3:e722:ac3:cc00:24:72f4:c0a8:305d]) (user=edliaw job=sendgmr) by 2002:a17:902:d4c9:b0:1f3:317:50f3 with SMTP id d9443c01a7336-1f31c7f68f9mr273175ad.0.1716339630262; Tue, 21 May 2024 18:00:30 -0700 (PDT) Date: Wed, 22 May 2024 00:57:07 +0000 In-Reply-To: <20240522005913.3540131-1-edliaw@google.com> Precedence: bulk X-Mailing-List: linux-kselftest@vger.kernel.org List-Id: <linux-kselftest.vger.kernel.org> List-Subscribe: <mailto:linux-kselftest+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kselftest+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-22-edliaw@google.com> Subject: [PATCH v5 21/68] selftests/futex: Drop duplicate -D_GNU_SOURCE 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>, Thomas Gleixner <tglx@linutronix.de>, Ingo Molnar <mingo@redhat.com>, Peter Zijlstra <peterz@infradead.org>, Darren Hart <dvhart@infradead.org>, Davidlohr Bueso <dave@stgolabs.net>, " =?utf-8?q?Andr=C3=A9_Almeida?= " <andrealmeid@igalia.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, John Hubbard <jhubbard@nvidia.com>, Muhammad Usama Anjum <usama.anjum@collabora.com> Content-Type: text/plain; charset="UTF-8" |
Series |
Define _GNU_SOURCE for sources using
|
expand
|
diff --git a/tools/testing/selftests/futex/functional/Makefile b/tools/testing/selftests/futex/functional/Makefile index a392d0917b4e..f79f9bac7918 100644 --- a/tools/testing/selftests/futex/functional/Makefile +++ b/tools/testing/selftests/futex/functional/Makefile @@ -1,6 +1,6 @@ # SPDX-License-Identifier: GPL-2.0 INCLUDES := -I../include -I../../ $(KHDR_INCLUDES) -CFLAGS := $(CFLAGS) -g -O2 -Wall -D_GNU_SOURCE -pthread $(INCLUDES) $(KHDR_INCLUDES) +CFLAGS := $(CFLAGS) -g -O2 -Wall -pthread $(INCLUDES) $(KHDR_INCLUDES) LDLIBS := -lpthread -lrt LOCAL_HDRS := \