Hi all, I'd like to resubmit an old patch, originally sent in 2010 but it never got any replies. This patch is still needed for vim to build in OpenEmbedded as our CC environment variable contains options to set the correct target architecture.
For the original submission, please see https://groups.google.com/forum/#!topic/vim_dev/VoXDuFnjx5M I've attached a patch created with 'hg export' against the latest vim source (v7.4.256). I hope that's the right way to do things. If not, let me know how to resubmit the change. Thanks, Paul Barker -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
# HG changeset patch # User Paul Barker <[email protected]> # Date 1397210670 -3600 # Fri Apr 11 11:04:30 2014 +0100 # Node ID f2eba96fe2c16dbb313a43374fe77cb96720fe85 # Parent f8223dbea078ca34166aacd715aeeffbc7cf63d5 Remove CC quotes in configure.in These quotes break things when CC contains options to pass to the compiler. Originally submitted by Thilo Fromm. diff -r f8223dbea078 -r f2eba96fe2c1 src/configure.in --- a/src/configure.in Fri Apr 11 10:22:53 2014 +0200 +++ b/src/configure.in Fri Apr 11 11:04:30 2014 +0100 @@ -46,10 +46,10 @@ fi if test "$GCC" = yes; then dnl method that should work for nearly all versions - gccversion=`"$CC" -dumpversion` + gccversion=`$CC -dumpversion` if test "x$gccversion" = "x"; then dnl old method; fall-back for when -dumpversion doesn't work - gccversion=`"$CC" --version | sed -e '2,$d' -e 's/darwin.//' -e 's/^[[^0-9]]*\([[0-9]]\.[[0-9.]]*\).*$/\1/g'` + gccversion=`$CC --version | sed -e '2,$d' -e 's/darwin.//' -e 's/^[[^0-9]]*\([[0-9]]\.[[0-9.]]*\).*$/\1/g'` fi dnl version 4.0.1 was reported to cause trouble on Macintosh by Marcin Dalecki if test "$gccversion" = "3.0.1" -o "$gccversion" = "3.0.2" -o "$gccversion" = "4.0.1"; then
