Skip to content

Commit a2aa5dc

Browse files
Andre-ARMctmarinas
authored andcommitted
kselftest/arm64: signal: drop now redundant GNU_SOURCE definition
The definition of GNU_SOURCE was recently centralised in an upper layer kselftest Makefile, so the definition in the arm64 signal tests Makefile is no longer needed. To make things worse, since both definitions are not strictly identical, the compiler warns about it: <command-line>: warning: "_GNU_SOURCE" redefined <command-line>: note: this is the location of the previous definition Drop the definition in the arm64/signal Makefile. Fixes: cc937da ("selftests: centralize -D_GNU_SOURCE= to CFLAGS in lib.mk") Signed-off-by: Andre Przywara <[email protected]> Reviewed-by: Mark Brown <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Catalin Marinas <[email protected]>
1 parent 9852d85 commit a2aa5dc

File tree

1 file changed

+1
-1
lines changed
  • tools/testing/selftests/arm64/signal

1 file changed

+1
-1
lines changed

tools/testing/selftests/arm64/signal/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# Copyright (C) 2019 ARM Limited
33

44
# Additional include paths needed by kselftest.h and local headers
5-
CFLAGS += -D_GNU_SOURCE -std=gnu99 -I.
5+
CFLAGS += -std=gnu99 -I.
66

77
SRCS := $(filter-out testcases/testcases.c,$(wildcard testcases/*.c))
88
PROGS := $(patsubst %.c,%,$(SRCS))

0 commit comments

Comments
 (0)