hc
2024-01-03 2f7c68cb55ecb7331f2381deb497c27155f32faf
kernel/tools/testing/selftests/rseq/Makefile
....@@ -4,8 +4,10 @@
44 CLANG_FLAGS += -no-integrated-as
55 endif
66
7
+top_srcdir = ../../../..
8
+
79 CFLAGS += -O2 -Wall -g -I./ -I../../../../usr/include/ -L$(OUTPUT) -Wl,-rpath=./ \
8
- $(CLANG_FLAGS)
10
+ $(CLANG_FLAGS) -I$(top_srcdir)/tools/include
911 LDLIBS += -lpthread -ldl
1012
1113 # Own dependencies because we only want to build against 1st prerequisite, but