Fix: tests: missing frame pointer for callstack test on some compiler
[lttng-tools.git] / tests / utils / testapp / gen-syscall-events-callstack / Makefile.am
CommitLineData
591ee332 1AM_CFLAGS += -I$(top_srcdir)/tests/utils/
51c2fb6c 2AM_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.
10if LINKER_HAVE_NO_PIE_OPTION
11AM_CFLAGS += -no-pie
12endif
591ee332
FD
13
14noinst_PROGRAMS = gen-syscall-events-callstack
15gen_syscall_events_callstack_SOURCES = gen-syscall-events-callstack.c
16gen_syscall_events_callstack_LDADD = $(top_builddir)/tests/utils/libtestutils.la
This page took 0.023277 seconds and 4 git commands to generate.