Message ID | 20230130121930.3472747-1-thomas@devoogdt.com |
---|---|
State | Accepted |
Headers | show |
Series | [v3,1/3] package/fluent-bit: only require a C compiler | expand |
>>>>> "Thomas" == Thomas Devoogdt <thomas@devoogdt.com> writes: > From: Thomas Devoogdt <thomas.devoogdt@gmail.com> > Fixes: > - http://autobuild.buildroot.net/results/007/007c7c69e54b8ff663891da4535e2e95d40c42a2/build-end.log > - http://autobuild.buildroot.net/results/ede/ede6f9fb67c0c26ff02e71a3d20e3d4344ea59f0/build-end.log > Signed-off-by: Thomas Devoogdt <thomas.devoogdt@barco.com> This has now been merged, so I've replaced this with the upstream commit and committed, thanks.
diff --git a/package/fluent-bit/0001-CMakeLists.txt-only-require-a-C-compiler.patch b/package/fluent-bit/0001-CMakeLists.txt-only-require-a-C-compiler.patch new file mode 100644 index 0000000000..6f2bf36e9b --- /dev/null +++ b/package/fluent-bit/0001-CMakeLists.txt-only-require-a-C-compiler.patch @@ -0,0 +1,27 @@ +From 9559c23121c7eee94fe2d7bb37ad9505ee03327e Mon Sep 17 00:00:00 2001 +From: Thomas Devoogdt <thomas.devoogdt@barco.com> +Date: Mon, 30 Jan 2023 09:10:37 +0100 +Subject: [PATCH] CMakeLists.txt: only require a C compiler + +Fluent-bit is mostly written in C, +so don't require CXX in the top-level project. + +Signed-off-by: Thomas Devoogdt <thomas.devoogdt@barco.com> +--- + CMakeLists.txt | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index ac1b9cd75..45f7bb85d 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -1,5 +1,5 @@ + cmake_minimum_required(VERSION 3.12) +-project(fluent-bit) ++project(fluent-bit C) + + # CMP0069 ensures that LTO is enabled for all compilers + cmake_policy(SET CMP0069 NEW) +-- +2.39.0 +