From: Sven Neumann <s.neumann@phase-zero.de>
To: buildroot@busybox.net
Subject: [Buildroot] how to change compiler flags for a specific package
Date: Tue, 03 Feb 2009 15:08:45 +0100 [thread overview]
Message-ID: <1233670125.6263.4.camel@sven> (raw)
In-Reply-To: <8763jrfzsv.fsf@macbook.be.48ers.dk>
Hi,
On Tue, 2009-02-03 at 13:52 +0100, Peter Korsgaard wrote:
> >>>>> "Sven" == Sven Neumann <s.neumann@phase-zero.de> writes:
>
> Sven> Hi,
> Sven> I have a question about buildroot. I need to compile a specific package
> Sven> with different compiler flags than the default. By default -Os is used
> Sven> in my buildroot setup, but as this triggers a compiler bug when
> Sven> compiling flac, I would like to change this to -O2 for the flac package
> Sven> (which uses Makefile.autotools.in). What is the best way to do that?
>
> For what arch, and what goes wrong exactly?
Details can be found in
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39076
> You can probably put your alternative CFLAGS in FLAC_MAKE_ENV or
> FLAC_MAKE_OPT to get the package to use it.
I'll try that. Thanks.
Sven
next prev parent reply other threads:[~2009-02-03 14:08 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-02-03 12:35 [Buildroot] how to change compiler flags for a specific package Sven Neumann
2009-02-03 12:52 ` Peter Korsgaard
2009-02-03 14:08 ` Sven Neumann [this message]
2009-02-03 14:19 ` Peter Korsgaard
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=1233670125.6263.4.camel@sven \
--to=s.neumann@phase-zero.de \
--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