Commit | Line | Data |
---|---|---|
591ee332 | 1 | AM_CFLAGS += -I$(top_srcdir)/tests/utils/ |
51c2fb6c | 2 | AM_CFLAGS += -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer |
b75d311f FD |
3 | # The feature called Position Independent Execution (PIE) may be enabled by |
4 | # default on some systems. Supporting this feature for this testapp would | |
5 | # increase the complexity of the testcases using this testapp as it would make | |
6 | # the addresses of functions unpredictable. So we prevent the linker from | |
7 | # using it by using the -no-pie option. If the -no-pie option is not | |
8 | # available, we assume that the PIE is not enabled by default so we do not | |
9 | # need to disable it. | |
10 | if LINKER_HAVE_NO_PIE_OPTION | |
11 | AM_CFLAGS += -no-pie | |
12 | endif | |
591ee332 FD |
13 | |
14 | noinst_PROGRAMS = gen-syscall-events-callstack | |
15 | gen_syscall_events_callstack_SOURCES = gen-syscall-events-callstack.c | |
16 | gen_syscall_events_callstack_LDADD = $(top_builddir)/tests/utils/libtestutils.la |