summaryrefslogtreecommitdiffstats
path: root/package/lttng-libust/0002-doc-examples-Makefile.am-define-C-and-C-compilers-fo.patch
diff options
context:
space:
mode:
authorPhilippe Proulx <eeppeliteloop@gmail.com>2017-11-22 17:56:35 -0500
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2017-12-01 22:12:32 +0100
commitf9ad0bcb8249e121330421458bd060fd137929c8 (patch)
tree0f0d3697e66065752258d4e23bc0a653cec45ab6 /package/lttng-libust/0002-doc-examples-Makefile.am-define-C-and-C-compilers-fo.patch
parentfc1c0ba62812b300441575c03775808a6cb1f6d1 (diff)
downloadbuildroot-f9ad0bcb8249e121330421458bd060fd137929c8.tar.gz
buildroot-f9ad0bcb8249e121330421458bd060fd137929c8.zip
lttng-libust: bump version to 2.10.0
The deleted patches are removed because they are now upstream as of LTTng-UST v2.10.0. Adding 0001-configure.ac-add-disable-examples-option-to-not-buil.patch which will be part of a release eventually (in master branch as of this date) to add the --disable-examples option. This option configures the build so that examples are not built, so as to avoid build problems with examples which involve CMake. Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/lttng-libust/0002-doc-examples-Makefile.am-define-C-and-C-compilers-fo.patch')
-rw-r--r--package/lttng-libust/0002-doc-examples-Makefile.am-define-C-and-C-compilers-fo.patch49
1 files changed, 0 insertions, 49 deletions
diff --git a/package/lttng-libust/0002-doc-examples-Makefile.am-define-C-and-C-compilers-fo.patch b/package/lttng-libust/0002-doc-examples-Makefile.am-define-C-and-C-compilers-fo.patch
deleted file mode 100644
index 5172dbbf20..0000000000
--- a/package/lttng-libust/0002-doc-examples-Makefile.am-define-C-and-C-compilers-fo.patch
+++ /dev/null
@@ -1,49 +0,0 @@
-From f54894580da85e33f934c5c9bf5ab32d3fcce18b Mon Sep 17 00:00:00 2001
-From: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
-Date: Wed, 30 Nov 2016 16:52:51 +0000
-Subject: [PATCH] doc/examples/Makefile.am: define C and C++ compilers for
- CMake
-
-This prevents build failures when cross-compiling.
-
-If we don't define the compiler, it will use the one from the host
-machine. For instance "/usr/bin/c++", which is incorrect.
-
-The failure looks like this:
-
-.............................................................
-[ 10%] Building CXX object CMakeFiles/tracepoint-provider.dir/tracepoint-provider.cpp.o
-/usr/bin/c++ -Dtracepoint_provider_EXPORTS -I/br/output/build/lttng-libust-2.9.0/doc/examples/cmake-multiple-shared-libraries/. -isystem /br/output/build/lttng-libust-2.9.0/include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -fPIC -o CMakeFiles/tracepoint-provider.dir/tracepoint-provider.cpp.o -c /br/output/build/lttng-libust-2.9.0/doc/examples/cmake-multiple-shared-libraries/tracepoint-provider.cpp
-In file included from /br/output/build/lttng-libust-2.9.0/include/lttng/tracepoint.h:29:0,
- from /br/output/build/lttng-libust-2.9.0/doc/examples/cmake-multiple-shared-libraries/tracepoint-provider.h:32,
- from /br/output/build/lttng-libust-2.9.0/doc/examples/cmake-multiple-shared-libraries/tracepoint-provider.cpp:26:
-/br/output/build/lttng-libust-2.9.0/include/lttng/tracepoint-rcu.h:26:27: fatal error: urcu/compiler.h: No such file or directory
- #include <urcu/compiler.h>
- ^
-compilation terminated.
-.............................................................
-
-Pull request URL: https://github.com/lttng/lttng-ust/pull/41
-
-Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
----
- doc/examples/Makefile.am | 2 ++
- 1 file changed, 2 insertions(+)
-
-diff --git a/doc/examples/Makefile.am b/doc/examples/Makefile.am
-index 424b844..5bc1f4c 100644
---- a/doc/examples/Makefile.am
-+++ b/doc/examples/Makefile.am
-@@ -152,7 +152,9 @@ all-local:
- cmake \
- -DCMAKE_INCLUDE_PATH="$(abs_top_srcdir)/include;$(abs_top_builddir)/include" \
- -DCMAKE_LIBRARY_PATH="$(abs_top_builddir)/liblttng-ust/.libs" \
-+ -DCMAKE_C_COMPILER="$(CC)" \
- -DCMAKE_C_FLAGS="$(CFLAGS) $(CPPFLAGS)" \
-+ -DCMAKE_CXX_COMPILER="$(CXX)" \
- -DCMAKE_CXX_FLAGS="$(CXXFLAGS) $(CPPFLAGS)" \
- -DCMAKE_EXE_LINKER_FLAGS="$(LDFLAGS)" \
- .. && \
---
-2.10.1
-
OpenPOWER on IntegriCloud