All of lore.kernel.org
 help / color / mirror / Atom feed
From: Yann E. MORIN <yann.morin.1998@free.fr>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] package/openvmtools: do not force -I/usr/include in CPPFLAGS
Date: Sun, 21 Sep 2014 14:48:48 +0200	[thread overview]
Message-ID: <20140921124848.GA4299@free.fr> (raw)
In-Reply-To: <CABbD_XDWpL8xoY0EVB7AtVu+O5AVuVV-kfiCMZvsNvpX=z+yUA@mail.gmail.com>

K?roly, All,

On 2014-09-21 14:40 +0200, K?roly Kasza spake thusly:
> I was just looking for the same problem at
> http://autobuild.buildroot.net/results/2e0/2e0c15fded8b1043e916c34a795da0a06c8534fb/build-end.log

Yup, same problem. I just looked at the frontpage of the autobuilders,
so missed that one.

> . Thanks for the fix - the patch number should become 05 I think if applied
> committed after http://patchwork.ozlabs.org/patch/389396/ .

Yes.

Whoever commits this fix may rename whichever he applies last. ;-)

Regards,
Yann E. MORIN.

> BR,
> Karoly
> 
> On Sun, Sep 21, 2014 at 1:01 PM, Yann E. MORIN <yann.morin.1998@free.fr>
> wrote:
> 
> > Fixes:
> >
> > http://autobuild.buildroot.net/results/447/4473d8a99ffec1fde491d172520e86ae1e69fae7/
> >
> > Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
> > ---
> >  .../openvmtools-04-dont-force-cppflags.patch       | 22
> > ++++++++++++++++++++++
> >  1 file changed, 22 insertions(+)
> >  create mode 100644
> > package/openvmtools/openvmtools-04-dont-force-cppflags.patch
> >
> > diff --git a/package/openvmtools/openvmtools-04-dont-force-cppflags.patch
> > b/package/openvmtools/openvmtools-04-dont-force-cppflags.patch
> > new file mode 100644
> > index 0000000..8f904b1
> > --- /dev/null
> > +++ b/package/openvmtools/openvmtools-04-dont-force-cppflags.patch
> > @@ -0,0 +1,22 @@
> > +m4: do not force -I/usr/include in CPPFLAGS
> > +
> > +This is so horribly broken for cross-compilation. :-(
> > +
> > +Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
> > +
> > +diff -durN openvmtools-9.4.6-1770165.orig/m4/vmtools.m4
> > openvmtools-9.4.6-1770165/m4/vmtools.m4
> > +--- openvmtools-9.4.6-1770165.orig/m4/vmtools.m4       2014-07-02
> > 00:21:14.000000000 +0200
> > ++++ openvmtools-9.4.6-1770165/m4/vmtools.m4    2014-09-21
> > 12:39:15.901659888 +0200
> > +@@ -281,10 +281,10 @@
> > +       if test "$os" = freebsd; then
> > +          CUSTOM_$1_CPPFLAGS="-I/usr/local/include"
> > +       else
> > +-         CUSTOM_$1_CPPFLAGS="-I/usr/include"
> > ++         CUSTOM_$1_CPPFLAGS=" "
> > +       fi
> > +       if test -n "$2"; then
> > +-         CUSTOM_$1_CPPFLAGS="${CUSTOM_$1_CPPFLAGS}/$2"
> > ++         : CUSTOM_$1_CPPFLAGS="${CUSTOM_$1_CPPFLAGS}/$2"
> > +       fi
> > +    fi
> > + ])
> > --
> > 1.9.1
> >
> > _______________________________________________
> > buildroot mailing list
> > buildroot at busybox.net
> > http://lists.busybox.net/mailman/listinfo/buildroot
> >
> 
> 
> 
> -- 
> 
> ?dv,
> KK

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'

  reply	other threads:[~2014-09-21 12:48 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-21 11:01 [Buildroot] [PATCH] package/openvmtools: do not force -I/usr/include in CPPFLAGS Yann E. MORIN
2014-09-21 12:40 ` Károly Kasza
2014-09-21 12:48   ` Yann E. MORIN [this message]
2014-09-21 12:53 ` Yann E. MORIN
2014-09-21 17:37 ` Thomas Petazzoni

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=20140921124848.GA4299@free.fr \
    --to=yann.morin.1998@free.fr \
    --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.