summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/iommu/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'tools/testing/selftests/iommu/Makefile')
-rw-r--r--tools/testing/selftests/iommu/Makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/testing/selftests/iommu/Makefile b/tools/testing/selftests/iommu/Makefile
index 32c5fdfd0eef..84abeb2f0949 100644
--- a/tools/testing/selftests/iommu/Makefile
+++ b/tools/testing/selftests/iommu/Makefile
@@ -1,8 +1,7 @@
# SPDX-License-Identifier: GPL-2.0-only
CFLAGS += -Wall -O2 -Wno-unused-function
CFLAGS += $(KHDR_INCLUDES)
-
-CFLAGS += -D_GNU_SOURCE
+LDLIBS += -lcap
TEST_GEN_PROGS :=
TEST_GEN_PROGS += iommufd