jasper: disable C++ compiler check
PATCH 1/1 jasper: disable C++ compiler check
Add a patch to disable the default cmake C++ compiler check.
Fixes:
http://autobuild.buildroot.net/results/970/97001530e59062c36f27721877cb8b5c3ba8906a/
Signed-off-by Baruch Siach <[email protected]>
--- package/jasper/0001-Disable-C-compiler-check.patch | 28 ++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 package/jasper/0001-Disable-C-compiler-check.patch
package/jasper/0001-Disable-C-compiler-check.patch new file +28 -0
@@ -0,0 +1,28 @@ +From e4ed3e2c3fd5a859567f510deeb49a915d96700f Mon Sep 17 00:00:00 2001 +From: Baruch Siach <[email protected]> +Date: Sat, 14 Jan 2017 21:06:25 +0200 +Subject: [PATCH] Disable C++ compiler check + +jasper does not use C++ code. Allow use of toolchains without C++ support. + +Signed-off-by: Baruch Siach <[email protected]> +--- +Upstream status: https://github.com/mdadams/jasper/pull/110 + CMakeLists.txt | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 6c99b3e7df31..3ac166b060ad 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -1,6 +1,6 @@ + cmake_minimum_required (VERSION 2.8.11) + +-project(JasPer) ++project(JasPer C) + + set(CMAKE_MODULE_PATH + ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/build/cmake/modules/") +-- +2.11.0 +
Signature · 1 line
2.11.0
PATCH 1/1 jasper: disable C++ compiler check
Quoted 7 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Baruch" == Baruch Siach <[email protected]> writes:
Add a patch to disable the default cmake C++ compiler check. Fixes:
http://autobuild.buildroot.net/results/970/97001530e59062c36f27721877cb8b5c3ba8906a/Signed-off-by Baruch Siach <[email protected]>
Committed, thanks. Don't forget to submit it upstream.
Signature · 1 line
Bye, Peter Korsgaard