All of lore.kernel.org
 help / color / mirror / Atom feed
From: Baruch Siach <baruch@tkos.co.il>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] jasper: disable C++ compiler check
Date: Sat, 14 Jan 2017 21:15:48 +0200	[thread overview]
Message-ID: <3ca30c18f41021fc83415195f97aa456c36e8a2b.1484421348.git.baruch@tkos.co.il> (raw)

Add a patch to disable the default cmake C++ compiler check.

Fixes:
http://autobuild.buildroot.net/results/970/97001530e59062c36f27721877cb8b5c3ba8906a/

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
---
 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

diff --git a/package/jasper/0001-Disable-C-compiler-check.patch b/package/jasper/0001-Disable-C-compiler-check.patch
new file mode 100644
index 000000000000..c1f727109c06
--- /dev/null
+++ b/package/jasper/0001-Disable-C-compiler-check.patch
@@ -0,0 +1,28 @@
+From e4ed3e2c3fd5a859567f510deeb49a915d96700f Mon Sep 17 00:00:00 2001
+From: Baruch Siach <baruch@tkos.co.il>
+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 <baruch@tkos.co.il>
+---
+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
+
-- 
2.11.0

             reply	other threads:[~2017-01-14 19:15 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-14 19:15 Baruch Siach [this message]
2017-01-16 12:16 ` [Buildroot] [PATCH] jasper: disable C++ compiler check Peter Korsgaard

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3ca30c18f41021fc83415195f97aa456c36e8a2b.1484421348.git.baruch@tkos.co.il \
    --to=baruch@tkos.co.il \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.