summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/capabilities/Makefile
diff options
context:
space:
mode:
authorMuhammad Usama Anjum <usama.anjum@collabora.com>2023-10-06 15:07:35 +0500
committerShuah Khan <skhan@linuxfoundation.org>2023-10-06 17:33:37 -0600
commitdfc033059bb6aa7d219fc25d113b3886131b0a6c (patch)
treeffd0ecb36354be32d13ee381bb26dbda0ea3af62 /tools/testing/selftests/capabilities/Makefile
parent0a6fa8f03e1497d3d1bf2e55f1e5b082dda227d4 (diff)
selftests: capabilities: remove duplicate unneeded defines
These duplicate defines should automatically be picked up from kernel headers. Use KHDR_INCLUDES to add kernel header files. Signed-off-by: Muhammad Usama Anjum <usama.anjum@collabora.com> Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Diffstat (limited to 'tools/testing/selftests/capabilities/Makefile')
-rw-r--r--tools/testing/selftests/capabilities/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/selftests/capabilities/Makefile b/tools/testing/selftests/capabilities/Makefile
index 6e9d98d457d5..411ac098308f 100644
--- a/tools/testing/selftests/capabilities/Makefile
+++ b/tools/testing/selftests/capabilities/Makefile
@@ -2,7 +2,7 @@
TEST_GEN_FILES := validate_cap
TEST_GEN_PROGS := test_execve
-CFLAGS += -O2 -g -std=gnu99 -Wall
+CFLAGS += -O2 -g -std=gnu99 -Wall $(KHDR_INCLUDES)
LDLIBS += -lcap-ng -lrt -ldl
include ../lib.mk