X-Git-Url: http://git.efficios.com/?p=lttng-tools.git;a=blobdiff_plain;f=tests%2Futils%2Ftestapp%2Fgen-syscall-events-callstack%2FMakefile.am;h=3b10c274d2fc6493b580aea940d0659cc207b34c;hp=a62d164515aa1247dae356d4b31f4959235f79cd;hb=refs%2Fheads%2Fsow-2019-0002-rev1;hpb=b75d311fbb53cb2f9c857349a6cd1877b411ff60 diff --git a/tests/utils/testapp/gen-syscall-events-callstack/Makefile.am b/tests/utils/testapp/gen-syscall-events-callstack/Makefile.am index a62d16451..3b10c274d 100644 --- a/tests/utils/testapp/gen-syscall-events-callstack/Makefile.am +++ b/tests/utils/testapp/gen-syscall-events-callstack/Makefile.am @@ -1,5 +1,7 @@ +# SPDX-License-Identifier: GPL-2.0-only + AM_CFLAGS += -I$(top_srcdir)/tests/utils/ -AM_CFLAGS += -fno-omit-frame-pointer +AM_CFLAGS += -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer # The feature called Position Independent Execution (PIE) may be enabled by # default on some systems. Supporting this feature for this testapp would # increase the complexity of the testcases using this testapp as it would make @@ -8,7 +10,7 @@ AM_CFLAGS += -fno-omit-frame-pointer # available, we assume that the PIE is not enabled by default so we do not # need to disable it. if LINKER_HAVE_NO_PIE_OPTION -AM_CFLAGS += -no-pie +AM_LDFLAGS += -no-pie endif noinst_PROGRAMS = gen-syscall-events-callstack