Fix: add subdir-objects to Makefile.am
A message that is not in the archive (sent off-list or not yet received): [email protected]
Merged in master and stable-2.7.
Thanks!
Jérémie
Quoted 35 lines · Mathieu Desnoyers
Fixes the following warning introduced by the runas worker changes. Use the same technique used in src/bin/lttng/Makefile.am.
src/common/Makefile.am:17: warning: source file '
sessiond-comm/unix.c' is in a subdirectory, src/common/Makefile.am:17: but option 'subdir-objects' is disabled
automake: warning: possible forward-incompatibility.
automake: At least a source file is in a subdirectory, but the 'subdir-objects'
automake: automake option hasn't been enabled. For now, the corresponding output
automake: object file(s) will be placed in the top-level directory. However,
automake: this behaviour will change in future Automake versions: they will
automake: unconditionally cause object files to be placed in the same subdirectory
automake: of the corresponding sources.
automake: You are advised to start using 'subdir-objects' option throughout your
automake: project, to avoid future incompatibilities.Signed-off-by Mathieu Desnoyers <[email protected]>--- src/common/Makefile.am | 2 ++ 1 file changed, 2 insertions(+)src/common/Makefile.am +2
-1@@ -1,5 +1,7 @@ AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/src +AUTOMAKE_OPTIONS = subdir-objects + SUBDIRS = compat health hashtable kernel-ctl sessiond-comm relayd \ kernel-consumer ust-consumer testpoint index config --2.1.4
Signature · 8 lines
Jérémie Galarneau EfficiOS Inc. http://www.efficios.com _______________________________________________ lttng-dev mailing list [email protected] http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev