Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] how to change compiler flags for a specific package
@ 2009-02-03 12:35 Sven Neumann
  2009-02-03 12:52 ` Peter Korsgaard
  0 siblings, 1 reply; 4+ messages in thread
From: Sven Neumann @ 2009-02-03 12:35 UTC (permalink / raw)
  To: buildroot

Hi,

I have a question about buildroot. I need to compile a specific package
with different compiler flags than the default. By default -Os is used
in my buildroot setup, but as this triggers a compiler bug when
compiling flac, I would like to change this to -O2 for the flac package
(which uses Makefile.autotools.in). What is the best way to do that?


Sven

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Buildroot] how to change compiler flags for a specific package
  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
  0 siblings, 1 reply; 4+ messages in thread
From: Peter Korsgaard @ 2009-02-03 12:52 UTC (permalink / raw)
  To: buildroot

>>>>> "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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Buildroot] how to change compiler flags for a specific package
  2009-02-03 12:52 ` Peter Korsgaard
@ 2009-02-03 14:08   ` Sven Neumann
  2009-02-03 14:19     ` Peter Korsgaard
  0 siblings, 1 reply; 4+ messages in thread
From: Sven Neumann @ 2009-02-03 14:08 UTC (permalink / raw)
  To: buildroot

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Buildroot] how to change compiler flags for a specific package
  2009-02-03 14:08   ` Sven Neumann
@ 2009-02-03 14:19     ` Peter Korsgaard
  0 siblings, 0 replies; 4+ messages in thread
From: Peter Korsgaard @ 2009-02-03 14:19 UTC (permalink / raw)
  To: buildroot

>>>>> "Sven" == Sven Neumann <s.neumann@phase-zero.de> writes:

 >> For what arch, and what goes wrong exactly?

 Sven> Details can be found in
 Sven> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39076

Thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-02-03 14:19 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2009-02-03 14:19     ` Peter Korsgaard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox