mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Michael Olbrich <m.olbrich@pengutronix.de>
To: ptxdist@pengutronix.de
Subject: Re: [ptxdist] [PATCH] gdbserver: add --disable-werror
Date: Thu, 13 Nov 2014 17:53:08 +0100	[thread overview]
Message-ID: <20141113165308.GW30196@pengutronix.de> (raw)
In-Reply-To: <1414582999-25917-1-git-send-email-post@lespocky.de>

On Wed, Oct 29, 2014 at 12:43:18PM +0100, Alexander Dahl wrote:
> If you activate -Wcast-align globally (which is useful if you build
> for older ARM architectures) gdbserver can not compile, because it
> throws almost 50 of those warnings and has -Werror set. Would be
> better to fix gdb, but as a quick and dirty workaround we can disable
> it like this.
> 
> Signed-off-by: Alexander Dahl <post@lespocky.de>

Thanks, applied.

Michael

> ---
>  rules/gdbserver.make |    2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/rules/gdbserver.make b/rules/gdbserver.make
> index 2eadd7d..2cdaf42 100644
> --- a/rules/gdbserver.make
> +++ b/rules/gdbserver.make
> @@ -43,6 +43,8 @@ GDBSERVER_ENV +=  LDFLAGS=-static
>  endif
>  
>  GDBSERVER_CONF_TOOL := autoconf
> +GDBSERVER_CONF_OPT  := $(CROSS_AUTOCONF_USR) \
> +	--disable-werror
>  
>  GDBSERVER_BUILD_OOT := YES
>  GDBSERVER_SUBDIR := gdb/gdbserver
> -- 
> 1.7.10.4
> 
> 
> -- 
> ptxdist mailing list
> ptxdist@pengutronix.de
> 

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

-- 
ptxdist mailing list
ptxdist@pengutronix.de

      reply	other threads:[~2014-11-13 16:53 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-02 12:27 [ptxdist] [PATCH] gdbserver: add GDBSERVER_DISABLE_WERROR option Alexander Dahl
2014-10-14  9:14 ` Michael Olbrich
2014-10-29 11:43   ` [ptxdist] [PATCH] gdbserver: add --disable-werror Alexander Dahl
2014-11-13 16:53     ` Michael Olbrich [this message]

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=20141113165308.GW30196@pengutronix.de \
    --to=m.olbrich@pengutronix.de \
    --cc=ptxdist@pengutronix.de \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox