Fix: tests: missing frame pointer for callstack test on some compiler
[lttng-tools.git] / tests / utils / testapp / gen-syscall-events-callstack / Makefile.am
1 AM_CFLAGS += -I$(top_srcdir)/tests/utils/
2 AM_CFLAGS += -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer
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
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
This page took 0.031759 seconds and 6 git commands to generate.