diff options
author | Andreas Müller <schnitzeltony@googlemail.com> | 2013-02-21 18:19:56 +0100 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2013-03-02 15:27:45 +0100 |
commit | 683a10384e6553dd90423a306809304bbc53f1c4 (patch) | |
tree | da49281dda8bc9b5f664d32402b6aa09e0c6e59f /meta-oe/recipes-devtools | |
parent | 84ea5433739ddc2551216902f6053d5c2368e755 (diff) | |
download | meta-openembedded-683a10384e6553dd90423a306809304bbc53f1c4.tar.gz |
geany: fix compile by removing extra check for c++ compiler
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe/recipes-devtools')
-rw-r--r-- | meta-oe/recipes-devtools/geany/geany/0001-configure.ac-remove-additional-c-test.patch | 47 | ||||
-rw-r--r-- | meta-oe/recipes-devtools/geany/geany_1.22.bb | 6 |
2 files changed, 52 insertions, 1 deletions
diff --git a/meta-oe/recipes-devtools/geany/geany/0001-configure.ac-remove-additional-c-test.patch b/meta-oe/recipes-devtools/geany/geany/0001-configure.ac-remove-additional-c-test.patch new file mode 100644 index 000000000..5166fece0 --- /dev/null +++ b/meta-oe/recipes-devtools/geany/geany/0001-configure.ac-remove-additional-c-test.patch | |||
@@ -0,0 +1,47 @@ | |||
1 | From e62d5b59262ec7ffe07931790712c7e247377795 Mon Sep 17 00:00:00 2001 | ||
2 | From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@googlemail.com> | ||
3 | Date: Thu, 21 Feb 2013 09:31:31 +0100 | ||
4 | Subject: [PATCH] configure.ac remove additional c++ test | ||
5 | MIME-Version: 1.0 | ||
6 | Content-Type: text/plain; charset=UTF-8 | ||
7 | Content-Transfer-Encoding: 8bit | ||
8 | |||
9 | For openembedded cross-builds CXX can contain something like: | ||
10 | |||
11 | arm-oe-linux-gnueabi-g++ -march=armv5te -marm -mthumb-interwork --sysroot=/home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/sysroots/qemuarm | ||
12 | |||
13 | This ends up in | ||
14 | |||
15 | configure:5582: error: No C++ compiler found. Please install a C++ compiler. | ||
16 | |||
17 | Anyway if [1] is still valid, the combination of AC_PROG_CC and AC_PROG_CXX | ||
18 | should thow an error message. | ||
19 | |||
20 | [1] http://lists.gnu.org/archive/html/bug-autoconf/2010-05/msg00001.html | ||
21 | |||
22 | Upstream-Status: Inappropriate [configuration] | ||
23 | |||
24 | Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com> | ||
25 | --- | ||
26 | configure.ac | 5 ----- | ||
27 | 1 files changed, 0 insertions(+), 5 deletions(-) | ||
28 | |||
29 | diff --git a/configure.ac b/configure.ac | ||
30 | index c37312a..742bf35 100644 | ||
31 | --- a/configure.ac | ||
32 | +++ b/configure.ac | ||
33 | @@ -26,11 +26,6 @@ AC_USE_SYSTEM_EXTENSIONS | ||
34 | AC_PROG_CC | ||
35 | |||
36 | AC_PROG_CXX | ||
37 | -# check for C++ compiler explicitly and fail if none is found, do this check | ||
38 | -# after AC_PROG_CXX has set the CXX environment variable | ||
39 | -if ! which $CXX >/dev/null 2>&1; then | ||
40 | - AC_MSG_ERROR([No C++ compiler found. Please install a C++ compiler.]) | ||
41 | -fi | ||
42 | |||
43 | AC_PROG_INSTALL | ||
44 | AC_PROG_LN_S | ||
45 | -- | ||
46 | 1.7.6.5 | ||
47 | |||
diff --git a/meta-oe/recipes-devtools/geany/geany_1.22.bb b/meta-oe/recipes-devtools/geany/geany_1.22.bb index 1e56ec8e0..e0b5df509 100644 --- a/meta-oe/recipes-devtools/geany/geany_1.22.bb +++ b/meta-oe/recipes-devtools/geany/geany_1.22.bb | |||
@@ -3,10 +3,14 @@ HOMEPAGE = "http://www.geany.org/" | |||
3 | LICENSE = "GPLv2" | 3 | LICENSE = "GPLv2" |
4 | LIC_FILES_CHKSUM = "file://COPYING;md5=c107cf754550e65755c42985a5d4e9c9" | 4 | LIC_FILES_CHKSUM = "file://COPYING;md5=c107cf754550e65755c42985a5d4e9c9" |
5 | DEPENDS = "gtk+" | 5 | DEPENDS = "gtk+" |
6 | PR = "r1" | ||
6 | 7 | ||
7 | inherit autotools pkgconfig | 8 | inherit autotools pkgconfig |
8 | 9 | ||
9 | SRC_URI = "http://download.geany.org/${PN}-${PV}.tar.bz2" | 10 | SRC_URI = " \ |
11 | http://download.geany.org/${PN}-${PV}.tar.bz2 \ | ||
12 | file://0001-configure.ac-remove-additional-c-test.patch \ | ||
13 | " | ||
10 | SRC_URI[md5sum] = "0672077fe83e2a739aa0eaca426aacf0" | 14 | SRC_URI[md5sum] = "0672077fe83e2a739aa0eaca426aacf0" |
11 | SRC_URI[sha256sum] = "901a35a7395ef10a80fb10b3ab63bae3871693a4e82d56388e9521a27877577e" | 15 | SRC_URI[sha256sum] = "901a35a7395ef10a80fb10b3ab63bae3871693a4e82d56388e9521a27877577e" |
12 | 16 | ||