SOURCES: rpm.macros - todo

Daniel Mróz beorn at alpha.pl
Wed Mar 7 12:07:32 CET 2007


On Wednesday 07 March 2007, glen wrote:
> +# TODO: find way to pass CC/CXX and CC/CXXFLAGS
>  %__scons	/usr/bin/scons
Sometimes works something like that:

   scons CFLAGS='...' CXXFLAGS='...' LDFLAGS='...'

but not in all cases of SConstruct. Also, it looks like compiler command is 
hardcoded into SConstruct files, but I didn't check it well. I'm still 
looking for a universal way to pass *FLAGS to scons. I work on aqsis.spec 
(switched to scons in version 1.2.0) and it builds without errors, but also 
without any platform optimizations, which is unacceptable for 3D render 
engine.


Regards
Beorn

-- 
Daniel 'Beorn' Mróz <beorn at alpha.pl>    http://127.0.0.1/beorn
[GIT d s:- a-@ C++++ UL++++$ P+ L++++ E--- W+ N+++ o? K- w---]
[O- M- V!  PS+ PE++ Y+ PGP++ t- 5  X R !tv b+ DI D++ G++ e h*]
[                          r++  y+                           ]



More information about the pld-devel-en mailing list