diff options
author | Edward Liaw <edliaw@google.com> | 2024-05-07 23:38:27 +0200 |
---|---|---|
committer | Shuah Khan <skhan@linuxfoundation.org> | 2024-05-09 01:08:46 +0200 |
commit | 2c3b8f8f37c6c0c926d584cf4158db95e62b960c (patch) | |
tree | f51c29d6507c65e867ab254531bc85b4efec665e /Documentation/dev-tools | |
parent | selftests: Compile kselftest headers with -D_GNU_SOURCE (diff) | |
download | linux-2c3b8f8f37c6c0c926d584cf4158db95e62b960c.tar.xz linux-2c3b8f8f37c6c0c926d584cf4158db95e62b960c.zip |
selftests/sgx: Include KHDR_INCLUDES in Makefile
Add KHDR_INCLUDES to the CFLAGS to pull in the kselftest harness
dependencies (-D_GNU_SOURCE).
Also, remove redefinitions of _GNU_SOURCE in the source code.
Fixes: 809216233555 ("selftests/harness: remove use of LINE_MAX")
Reported-by: kernel test robot <oliver.sang@intel.com>
Closes: https://lore.kernel.org/oe-lkp/202404301040.3bea5782-oliver.sang@intel.com
Signed-off-by: Edward Liaw <edliaw@google.com>
Reviewed-by: Muhammad Usama Anjum <usama.anjum@collabora.com>
Acked-by: Dave Hansen <dave.hansen@linux.intel.com>
Reviewed-by: Jarkko Sakkinen <jarkko@kernel.org>
Tested-by: Jarkko Sakkinen <jarkko@kernel.org>
Reviewed-by: John Hubbard <jhubbard@nvidia.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Diffstat (limited to 'Documentation/dev-tools')
0 files changed, 0 insertions, 0 deletions