Buildroot Archive on 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/ruby: drop useless SuperH CFLAGS tweaks
Date: Wed, 30 Sep 2020 23:03:17 +0200	[thread overview]
Message-ID: <20200930210317.GY11621@scaer> (raw)
In-Reply-To: <20200930204105.322249-1-thomas.petazzoni@bootlin.com>

Thomas, All,

On 2020-09-30 22:41 +0200, Thomas Petazzoni spake thusly:
> We have dropped a long time CodeBench 2019.09 toolchains for SuperH,

I reworded this part of the sentence a little bit, fixed the version
(2012.09, not 2019.09), and applied to master, thanks.

Regards,
Yann E. MORIN.

> and with recent toolchains, Ruby at -Os builds perfectly fine, so
> there's no reason to keep this work-around.
> 
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
> ---
>  package/ruby/ruby.mk | 9 ---------
>  1 file changed, 9 deletions(-)
> 
> diff --git a/package/ruby/ruby.mk b/package/ruby/ruby.mk
> index 6f8cb319cb..d138aaaa1a 100644
> --- a/package/ruby/ruby.mk
> +++ b/package/ruby/ruby.mk
> @@ -20,15 +20,6 @@ HOST_RUBY_CONF_OPTS = \
>  RUBY_LICENSE = Ruby or BSD-2-Clause, BSD-3-Clause, others
>  RUBY_LICENSE_FILES = LEGAL COPYING BSDL
>  
> -RUBY_CFLAGS = $(TARGET_CFLAGS)
> -# With some SuperH toolchains (like Sourcery CodeBench 2012.09), ruby fails to
> -# build with 'pcrel too far'. This seems to be caused by the -Os option we pass
> -# by default. To fix the problem, use standard -O2 optimization instead.
> -ifeq ($(BR2_sh),y)
> -RUBY_CFLAGS += -O2
> -endif
> -RUBY_CONF_ENV = CFLAGS="$(RUBY_CFLAGS)"
> -
>  ifeq ($(BR2_TOOLCHAIN_USES_UCLIBC),y)
>  # On uClibc, finite, isinf and isnan are not directly implemented as
>  # functions.  Instead math.h #define's these to __finite, __isinf and
> -- 
> 2.26.2
> 
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot

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

      reply	other threads:[~2020-09-30 21:03 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-30 20:41 [Buildroot] [PATCH] package/ruby: drop useless SuperH CFLAGS tweaks Thomas Petazzoni
2020-09-30 21:03 ` Yann E. MORIN [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=20200930210317.GY11621@scaer \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox