diff options
author | Thilo Fromm <t.fromm@dresearch.de> | 2010-10-01 00:25:42 +0000 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2010-10-06 15:26:54 -0700 |
commit | a10389ad4346b2285a0a5b00be893143392d8484 (patch) | |
tree | a2ef401b19099d3772cc52651175f17e473300db /recipes/vim/vim.inc | |
parent | f65559a539892959a98034cbf203145a7e22b2ea (diff) | |
download | openembedded-a10389ad4346b2285a0a5b00be893143392d8484.tar.gz |
vim-7.2: remove quotes from CC in configure.in
configure.in features quotes around some calls to $CC (i.e. it calls
"$CC"). CC is, however, not always just the compiler name. In OpenEmbedded
CC looks more like "arm-angstrom-linux-gnueabi-gcc -march=armv5te -mtune=arm926ej-s -mthumb-interwork -mno-thumb".
configure executes tests in a form like
res=`"$CC" --some-arg`
The shell tries to run the whole contents of the CC variable - not just the first string
- as _one_ command, which will fail.
However, these errors remain unnoticed during the configure run:
...
configure: line 3707: arm-angstrom-linux-gnueabi-gcc -march=armv5te -mtune=arm926ej-s -mthumb-interwork -mno-thumb: command not found
...
checking for setjmp.h... yes
checking for GCC 3 or later... /SCRATCH/maniac/oe-merge-test/OE/tmp.6/work/armv5te-angstrom-linux-gnueabi/vim-7.2-r7.1/vim72/src/configure: line 11329: test: : integer expression expected
no
checking whether we need -D_FORTIFY_SOURCE=1... /SCRATCH/maniac/oe-merge-test/OE/tmp.6/work/armv5te-angstrom-linux-gnueabi/vim-7.2-r7.1/vim72/src/configure: line 11339: test: : integer expression expected
no
...
But finally:
...
configure: creating ./config.status
config.status: creating auto/config.mk
config.status: creating auto/config.h
So the configure step had errors, but didn't report any.
This patch removes the quotes around the CC variable in configure.in.
Signed-off-by: Thilo Fromm <t.fromm@dresearch.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'recipes/vim/vim.inc')
-rw-r--r-- | recipes/vim/vim.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/recipes/vim/vim.inc b/recipes/vim/vim.inc index aa93527ef0..1e71d52066 100644 --- a/recipes/vim/vim.inc +++ b/recipes/vim/vim.inc @@ -5,7 +5,7 @@ DEPENDS = "ncurses" RSUGGESTS_${PN} = "diffutils" LICENSE = "vim" -INC_PR = "r7" +INC_PR = "r8" SRC_URI = "ftp://ftp.vim.org/pub/vim/unix/vim-${PV}.tar.bz2;name=vim${PV}tarbz2 \ ftp://ftp.vim.org/pub/vim/extra/vim-${PV}-extra.tar.gz;name=vim${PV}extratargz \ |