Thread (89 messages) 89 messages, 12 authors, 2024-05-23
STALE745d
Revisions (3)
  1. v3 [diff vs current]
  2. v4 [diff vs current]
  3. v5 current

[PATCH v5 46/68] selftests/proc: Drop duplicate -D_GNU_SOURCE

From: Edward Liaw <hidden>
Date: 2024-05-22 01:01:50
Also in: bpf, linux-fsdevel, linux-kselftest, linux-riscv, lkml, netdev
Subsystem: kernel selftest framework, proc filesystem, the rest · Maintainers: Shuah Khan, Linus Torvalds

-D_GNU_SOURCE can be de-duplicated here, as it is added by lib.mk.

Signed-off-by: Edward Liaw <redacted>
---
 tools/testing/selftests/proc/Makefile | 1 -
 1 file changed, 1 deletion(-)
diff --git a/tools/testing/selftests/proc/Makefile b/tools/testing/selftests/proc/Makefile
index cd95369254c0..25c34cc9238e 100644
--- a/tools/testing/selftests/proc/Makefile
+++ b/tools/testing/selftests/proc/Makefile
@@ -1,6 +1,5 @@
 # SPDX-License-Identifier: GPL-2.0-only
 CFLAGS += -Wall -O2 -Wno-unused-function
-CFLAGS += -D_GNU_SOURCE
 LDFLAGS += -pthread
 
 TEST_GEN_PROGS :=
-- 
2.45.1.288.g0e0cd299f1-goog
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help