problem when compiling sdl
Auke Kok
sofar at lunar-linux.org
Mon Sep 26 22:59:23 UTC 2005
Zbigniew Luszpinski wrote:
>>Steven Michalske wrote:
>>
>>>The proper way to correct this is the bad_flags or BAD_FLAGS or
>>>something like that
>>>
>>that would be adding "bad_flags ALL" to the top of the BUILD file of
>>that module. However this would not clean out optimizations set by the
>>modules makefiles itself.
>>
>
>There is another way I use if any module do not want compile:
>In optimize.lunar before last bracket insert:
>export CFLAGS=""
>export CXXFLAGS=""
>export LDFLAGS=""
>
>this helps if there is really compiler/linker flags problem.
>Remember to remove them after compiling not compilable module to restore
>default optimizations.
>
zbiggy,
this is what 'bad_flags ALL' does as well, but 'bad_flags ALL' does even
more un-optimization than just this, and is far better than your
hack/edit. Please use this "bad_flags" method before trying to use other
ones - it is the preferred and best method there is currently.
Auke
More information about the Lunar
mailing list