aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/testing/selftests/exec/Makefile
diff options
context:
space:
mode:
authorMuhammad Usama Anjum <usama.anjum@collabora.com>2022-02-14 21:07:56 +0500
committerShuah Khan <skhan@linuxfoundation.org>2022-02-23 17:25:02 -0700
commit46e50459ea10cbf8a534fc1e6e752408dda191ef (patch)
tree4db0acfc99566c6be80a1955d874e7951ee4a0e9 /tools/testing/selftests/exec/Makefile
parentselftests: vm: remove dependecy from internal kernel macros (diff)
downloadwireguard-linux-46e50459ea10cbf8a534fc1e6e752408dda191ef.tar.xz
wireguard-linux-46e50459ea10cbf8a534fc1e6e752408dda191ef.zip
selftests: Use -isystem instead of -I to include headers
Selftests need kernel headers and glibc for compilation. In compilation of selftests, uapi headers from kernel source are used instead of default ones while glibc has already been compiled with different header files installed in the operating system. So there can be redefination warnings from compiler. These warnings can be suppressed by using -isystem to include the uapi headers. Signed-off-by: Muhammad Usama Anjum <usama.anjum@collabora.com> Reviewed-by: Kees Cook <keescook@chromium.org> Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Diffstat (limited to 'tools/testing/selftests/exec/Makefile')
0 files changed, 0 insertions, 0 deletions