From: Peter Korsgaard <jacmet@uclibc.org>
To: buildroot@busybox.net
Subject: [Buildroot] how to change compiler flags for a specific package
Date: Tue, 03 Feb 2009 13:52:16 +0100 [thread overview]
Message-ID: <8763jrfzsv.fsf@macbook.be.48ers.dk> (raw)
In-Reply-To: <1233664525.6263.3.camel@sven> (Sven Neumann's message of "Tue\, 03 Feb 2009 13\:35\:25 +0100")
>>>>> "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?
You can probably put your alternative CFLAGS in FLAC_MAKE_ENV or
FLAC_MAKE_OPT to get the package to use it.
--
Bye, Peter Korsgaard
next prev parent reply other threads:[~2009-02-03 12:52 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 [this message]
2009-02-03 14:08 ` Sven Neumann
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=8763jrfzsv.fsf@macbook.be.48ers.dk \
--to=jacmet@uclibc.org \
--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.