Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion tools/testing/selftests/rseq/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,13 @@ CLANG_FLAGS += -no-integrated-as
endif

top_srcdir = ../../../..
include $(top_srcdir)/scripts/subarch.include
ARCH ?= $(SUBARCH)
LINUX_TOOL_ARCH_INCLUDE = $(top_srcdir)/tools/arch/$(ARCH)/include

CFLAGS += -O2 -Wall -g -I./ $(KHDR_INCLUDES) -L$(OUTPUT) -Wl,-rpath=./ \
$(CLANG_FLAGS) -I$(top_srcdir)/tools/include
$(CLANG_FLAGS) -I$(top_srcdir)/tools/include \
-I$(LINUX_TOOL_ARCH_INCLUDE)
LDLIBS += -lpthread -ldl

# Own dependencies because we only want to build against 1st prerequisite, but
Expand Down