[Buildroot] [PATCH 2/3] package/pkg-cmake.mk: don't unconditionally set CMAKE_CXX_COMPILER

Peter Korsgaard peter at korsgaard.com
Sun Apr 4 09:27:34 UTC 2021


>>>>> "Fabrice" == Fabrice Fontaine <fontaine.fabrice at gmail.com> writes:

 > Don't unconditionally set CMAKE_CXX_COMPILER as it will raise a build
 > failure on qpid-proton because "if the toolchain specifies a value for
 > CMAKE_CXX_COMPILER, then CMake assumes the compiler works and goes
 > straight ahead trying to use it":
 > https://cmake.org/cmake/help/latest/module/CheckLanguage.html
 > https://issues.apache.org/jira/browse/PROTON-2365

 > Fixes:
 >  - http://autobuild.buildroot.org/results/05f344151100219c159ca4d466a453df96bf07fa

 > Signed-off-by: Fabrice Fontaine <fontaine.fabrice at gmail.com>

Committed to 2020.02.x, 2020.11.x and 2021.02.x, thanks.

-- 
Bye, Peter Korsgaard



More information about the buildroot mailing list