X-Git-Url: https://git.liburcu.org/?a=blobdiff_plain;f=tests%2Fregression%2Fkernel%2FMakefile.am;h=4fef90d36b18766553458b8211f4e1316750b65d;hb=fbf606d77e98bd46d953a40331f039730cfdf532;hp=dfbed73f4eb73925ad54fca2100441120554edeb;hpb=d40c26206a44d9e247bbcdc01afb34c41d0c490d;p=lttng-tools.git diff --git a/tests/regression/kernel/Makefile.am b/tests/regression/kernel/Makefile.am index dfbed73f4..4fef90d36 100644 --- a/tests/regression/kernel/Makefile.am +++ b/tests/regression/kernel/Makefile.am @@ -9,7 +9,7 @@ EXTRA_DIST = test_all_events \ test_kernel_function \ test_lttng_logger \ test_ns_contexts \ - test_ns_contexts_change + test_ns_contexts_change \ test_rotation_destroy_flush \ test_select_poll_epoll \ test_syscall \ @@ -19,7 +19,9 @@ EXTRA_DIST = test_all_events \ noinst_PROGRAMS = select_poll_epoll select_poll_epoll_SOURCES = select_poll_epoll.cpp select_poll_epoll_LDADD = $(POPT_LIBS) $(top_builddir)/src/common/libcommon-lgpl.la -select_poll_epoll_CFLAGS = $(POPT_CFLAGS) -fno-stack-protector -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0 $(AM_CFLAGS) +select_poll_epoll_CPPFLAGS = $(POPT_CFLAGS) $(AM_CPPFLAGS) +# Disable stack protection, the test overflows the stack to test the poll/epoll syscalls +select_poll_epoll_CXXFLAGS = -fno-stack-protector $(AM_CXXFLAGS) all-local: @if [ x"$(srcdir)" != x"$(builddir)" ]; then \