2013/8/21 Reimar Döffinger <Reimar.Doeffinger@gmx.de>:
On Wed, Aug 21, 2013 at 12:12:07PM +0800, Chih-Wei Huang wrote:
2013/8/21 Michael Niedermayer <michaelni@gmx.at>:
On Tue, Aug 20, 2013 at 11:51:51AM +0800, Chih-Wei Huang wrote:
You should be able to change CFLAGS / CC in the "# OS specific" section of configure if they have incorrect values
Android build system has already defined them. (in its way)
To speak plainly: Yes, and the settings it uses are _shit_.
Well, sounds like a religious war. But sorry I don't want to involve.
You should be much better of just using what FFmpeg wants to use.
Surely I use what ffmpeg wants to use. But they should be put to LOCAL_CFLAGS etc defined by the android build system.
Actually both things apply to the whole Android build system, it's not needed and causes more issues than it solves compared to using your own/FFmpeg's, properly designed one.
I didn't ask you change your design. I just hope the output of configure script could be more friendly to other build system including but not limited to android. This could be easily be done by separating the output into two parts (by ifdef or anything else) If you don't like the idea, that's fine. I'll maintain my own branch. -- Chih-Wei Android-x86 project http://www.android-x86.org