All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ismael Luceno <ismael.luceno@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/2] openssl: Fix build on ARM with GCC 4.6.x
Date: Thu, 1 Mar 2012 15:32:01 -0200	[thread overview]
Message-ID: <20120301153201.58f81290@gmail.com> (raw)
In-Reply-To: <20120301053726.GA4978@sapphire.tkos.co.il>

On Thu, 1 Mar 2012 07:37:27 +0200
Baruch Siach <baruch@tkos.co.il> wrote:
> Hi Ismael,
> 
> On Wed, Feb 29, 2012 at 09:27:57PM -0200, Ismael Luceno wrote:
> > 
> > Signed-off-by: Ismael Luceno <ismael.luceno@gmail.com>
> > ---
> >  package/openssl/openssl.mk |    7 +++++++
> >  1 files changed, 7 insertions(+), 0 deletions(-)
> > 
> > diff --git a/package/openssl/openssl.mk b/package/openssl/openssl.mk
> > index cb29fe4..fda935a 100644
> > --- a/package/openssl/openssl.mk
> > +++ b/package/openssl/openssl.mk
> > @@ -9,7 +9,14 @@ OPENSSL_SITE = http://www.openssl.org/source
> >  OPENSSL_INSTALL_STAGING = YES
> >  OPENSSL_DEPENDENCIES = zlib
> >  OPENSSL_TARGET_ARCH = generic32
> > +
> > +ifeq ($(BR2_GCC_VERSION_4_6_X)-$(ARCH),y-arm)
> > +# workaround for gcc issue
> > +# http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48308
> > +OPENSSL_CFLAGS = $(subst -Os,-O2,$(TARGET_CFLAGS))
> > +else
> >  OPENSSL_CFLAGS = $(TARGET_CFLAGS)
> > +endif
> 
> Will this work for external and ct-ng toolchains?
> 
> baruch
> 

As long as you set BR2_GCC_VERSION_4_6_X manually...
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20120301/c8b6a728/attachment.asc>

  parent reply	other threads:[~2012-03-01 17:32 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-29 23:27 [Buildroot] [PATCH 1/2] openssl: Fix build on ARM with GCC 4.6.x Ismael Luceno
2012-02-29 23:27 ` [Buildroot] [PATCH 2/2] openssl: Add -march and -mcpu flags Ismael Luceno
2012-03-01  5:37 ` [Buildroot] [PATCH 1/2] openssl: Fix build on ARM with GCC 4.6.x Baruch Siach
2012-03-01  7:32   ` Thomas Petazzoni
2012-03-01 17:32   ` Ismael Luceno [this message]
2012-03-01 18:10     ` Baruch Siach
2012-03-03 23:13       ` Ismael Luceno
2012-03-05  5:19         ` Baruch Siach
2012-03-05  6:45           ` Ismael Luceno
2012-03-06 15:21           ` Gustavo Zacarias

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=20120301153201.58f81290@gmail.com \
    --to=ismael.luceno@gmail.com \
    --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.