All of lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
To: buildroot@busybox.net
Subject: [Buildroot] Add BR2_EXTRA_CXX_FLAGS to be appended to TARGET_CXXFLAGS
Date: Tue, 18 Feb 2020 17:02:57 +0100	[thread overview]
Message-ID: <20200218170257.2aa2740b@windsurf> (raw)
In-Reply-To: <ea-mime-5e4bb22b-5970-2e2a6b21@www-2.mailo.com>

Hello Louis-Paul,

On Tue, 18 Feb 2020 10:45:15 +0100 (CET)
lpdev at cordier.org wrote:

> I see 2 possible solutions to solve that:
> 
> - at the buildroot build level, add an option like BR2_USE_CXX11_ABI, or more generally, BR2_EXTRA_CXX_FLAGS (that can be extended to cflags as well).
> - at the buildroot toolchain build level, add an option in the buildroot toolchain that allows to control the CXX11 ABI
> 
> What do you think about that?

The BR2_TARGET_OPTIMIZATION is already there to allow passing some
custom CFLAGS. It doesn't work for you ?

(And yes the name of the option is stupid, but it's some historical
thing, and we never renamed it).

Best regards,

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

      reply	other threads:[~2020-02-18 16:02 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-02-18  9:45 [Buildroot] Add BR2_EXTRA_CXX_FLAGS to be appended to TARGET_CXXFLAGS lpdev at cordier.org
2020-02-18 16:02 ` Thomas Petazzoni [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=20200218170257.2aa2740b@windsurf \
    --to=thomas.petazzoni@bootlin.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.