X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=libringbuffer%2FMakefile.am;h=c153ea250415a7ac7a62e004a5c72362942c2b19;hb=bfcda6cea270952898ea122c375f2ed19105adef;hp=271c8beed9ffdd385e9a39902d4c463b688d3887;hpb=b6e4919f8a0787d493e23f4a67739f9038c75c0e;p=lttng-ust.git diff --git a/libringbuffer/Makefile.am b/libringbuffer/Makefile.am index 271c8bee..c153ea25 100644 --- a/libringbuffer/Makefile.am +++ b/libringbuffer/Makefile.am @@ -1,5 +1,5 @@ AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_builddir)/include -AM_CFLAGS = -fno-strict-aliasing +AM_CFLAGS += -fno-strict-aliasing noinst_LTLIBRARIES = libringbuffer.la @@ -11,10 +11,14 @@ libringbuffer_la_SOURCES = \ api.h \ backend.h backend_internal.h backend_types.h \ frontend_api.h frontend.h frontend_internal.h frontend_types.h \ - nohz.h vatomic.h tlsfixup.h + nohz.h vatomic.h rb-init.h libringbuffer_la_LIBADD = \ -lpthread \ -lrt -libringbuffer_la_CFLAGS = -DUST_COMPONENT="libringbuffer" -fno-strict-aliasing +if HAVE_LIBNUMA +libringbuffer_la_LIBADD += -lnuma +endif + +libringbuffer_la_CFLAGS = -DUST_COMPONENT="libringbuffer" $(AM_CFLAGS)