[Buildroot] how to change compiler flags for a specific package

Sven Neumann s.neumann at phase-zero.de
Tue Feb 3 12:35:25 UTC 2009


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




More information about the buildroot mailing list