[Buildroot] [PATCH 6/7] lttng-libust: add patch to fix build issue when C++ support is not available

Peter Korsgaard jacmet at uclibc.org
Sun Feb 5 10:28:28 UTC 2012


>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni at free-electrons.com> writes:

 Thomas> Signed-off-by: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
 Thomas> ---
 Thomas>  ...2-dont-build-cxx-tests-when-not-available.patch |   50 ++++++++++++++++++++
 Thomas>  package/lttng-libust/lttng-libust.mk               |    2 +
 Thomas>  2 files changed, 52 insertions(+), 0 deletions(-)
 Thomas>  create mode 100644 package/lttng-libust/lttng-libust-1.9.2-dont-build-cxx-tests-when-not-available.patch

 Thomas> diff --git a/package/lttng-libust/lttng-libust-1.9.2-dont-build-cxx-tests-when-not-available.patch b/package/lttng-libust/lttng-libust-1.9.2-dont-build-cxx-tests-when-not-available.patch
 Thomas> new file mode 100644
 Thomas> index 0000000..b1b94b0
 Thomas> --- /dev/null
 Thomas> +++ b/package/lttng-libust/lttng-libust-1.9.2-dont-build-cxx-tests-when-not-available.patch
 Thomas> @@ -0,0 +1,50 @@
 Thomas> +Do not build C++ example if a C++ compiler isn't available
 Thomas> +
 Thomas> +By default lttng-ust builds a hello.cxx C++ example that demonstrates
 Thomas> +the usage of the userspace tracing library in a C++
 Thomas> +program. Unfortunately, when no C++ support isa available, the build

s/isa/is/. Otherwise it looks good, committed - Thanks.

-- 
Bye, Peter Korsgaard


More information about the buildroot mailing list