summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/mount/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'tools/testing/selftests/mount/Makefile')
-rw-r--r--tools/testing/selftests/mount/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/tools/testing/selftests/mount/Makefile b/tools/testing/selftests/mount/Makefile
index a5b367f032ba..95580a97326e 100644
--- a/tools/testing/selftests/mount/Makefile
+++ b/tools/testing/selftests/mount/Makefile
@@ -1,9 +1,10 @@
# Makefile for mount selftests.
-
+CFLAGS = -Wall \
+ -O2
all: unprivileged-remount-test
unprivileged-remount-test: unprivileged-remount-test.c
- gcc -Wall -O2 unprivileged-remount-test.c -o unprivileged-remount-test
+ $(CC) $(CFLAGS) unprivileged-remount-test.c -o unprivileged-remount-test
include ../lib.mk