]> www.infradead.org Git - users/jedix/linux-maple.git/commit
kselftest/arm64: signal: drop now redundant GNU_SOURCE definition
authorAndre Przywara <andre.przywara@arm.com>
Fri, 16 Aug 2024 15:32:44 +0000 (16:32 +0100)
committerCatalin Marinas <catalin.marinas@arm.com>
Thu, 17 Oct 2024 17:51:49 +0000 (18:51 +0100)
commita2aa5dcc6393dc08844a3f76aa5b7694fbbf99c8
tree353ad1ce5d6f222009b018fab45134d007b41898
parent9852d85ec9d492ebef56dc5f229416c925758edc
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: cc937dad85ae ("selftests: centralize -D_GNU_SOURCE= to CFLAGS in lib.mk")
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Reviewed-by: Mark Brown <broonie@kernel.org>
Link: https://lore.kernel.org/r/20240816153251.2833702-2-andre.przywara@arm.com
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
tools/testing/selftests/arm64/signal/Makefile