81800a50a01b3539afa4747d99f068d8b7a3654e
[lttng-tools.git] / tests / utils / testapp / gen-syscall-events-callstack / Makefile.am
1 # SPDX-License-Identifier: GPL-2.0-only
2
3 AM_CFLAGS += -I$(top_srcdir)/tests/utils/
4 AM_CFLAGS += -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer
5 # The feature called Position Independent Execution (PIE) may be enabled by
6 # default on some systems. Supporting this feature for this testapp would
7 # increase the complexity of the testcases using this testapp as it would make
8 # the addresses of functions unpredictable. So we prevent the linker from
9 # using it by using the -no-pie option. If the -no-pie option is not
10 # available, we assume that the PIE is not enabled by default so we do not
11 # need to disable it.
12 if LINKER_HAVE_NO_PIE_OPTION
13 AM_CFLAGS += -no-pie
14 endif
15
16 noinst_PROGRAMS = gen-syscall-events-callstack
17 gen_syscall_events_callstack_SOURCES = gen-syscall-events-callstack.c
18 gen_syscall_events_callstack_LDADD = $(top_builddir)/tests/utils/libtestutils.la
This page took 0.030708 seconds and 4 git commands to generate.