-
-
Notifications
You must be signed in to change notification settings - Fork 231
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CMakeLists.txt: fix build without C++ #26
Conversation
Can you elaborate more on what this improvement brings? |
Cmake enforces some stuff based on the CMakeList.txt. By default, it will enforce a C and C++ compiler. And while it often goes together (most GCC builds do), it's not guaranteed. E.g. Buildroot has support for C-only toolchains. This commit makes sure that only C is required. And the intention is that fluent-bit takes this along at some point so that we can drop our patch in Buildroot. |
lwrb is written in c, so only enforce a c compiler Seen while compiling fluent-bit on buildroot. Signed-off-by: Thomas Devoogdt <thomas@devoogdt.com>
4a4f44c
to
a4de106
Compare
lwrb is written in c, so only enforce a c compiler upstream: MaJerle/lwrb#26 Signed-off-by: Thomas Devoogdt <thomas.devoogdt@barco.com>
lwrb is written in c, so only enforce a c compiler upstream: MaJerle/lwrb#26 Signed-off-by: Thomas Devoogdt <thomas.devoogdt@barco.com>
lwrb is written in c, so only enforce a c compiler upstream: MaJerle/lwrb#26 Signed-off-by: Thomas Devoogdt <thomas.devoogdt@barco.com>
lwrb is written in c, so only enforce a c compiler upstream: MaJerle/lwrb#26 Signed-off-by: Thomas Devoogdt <thomas.devoogdt@barco.com>
lwrb is written in c, so only enforce a c compiler upstream: MaJerle/lwrb#26 Signed-off-by: Thomas Devoogdt <thomas.devoogdt@barco.com>
lwrb is written in c, so only enforce a c compiler upstream: MaJerle/lwrb#26 Signed-off-by: Thomas Devoogdt <thomas.devoogdt@barco.com>
lwrb is written in c, so only enforce a c compiler upstream: MaJerle/lwrb#26 Signed-off-by: Thomas Devoogdt <thomas.devoogdt@barco.com>
lwrb is written in c, so only enforce a c compiler upstream: MaJerle/lwrb#26 Signed-off-by: Thomas Devoogdt <thomas.devoogdt@barco.com>
lwrb is written in c, so only enforce a c compiler upstream: MaJerle/lwrb#26 Signed-off-by: Thomas Devoogdt <thomas.devoogdt@barco.com>
lwrb is written in c, so only enforce a c compiler
Seen while compiling fluent-bit on buildroot.