SCons build, help needed
Karel Miklav
karel at lovetemple.net
Mon Nov 27 16:10:26 PST 2006
I'm trying to make a port of the latest Blender with the SCons build.
The scons command in the do-build target in bsd.scons.mk is expanded in:
/usr/bin/env /usr/local/bin/scons \
CCFLAGS="-O2 -fno-strict-aliasing -pipe" \
CXXFLAGS="-O2 -fno-strict-aliasing -pipe" ...
Which gives an error:
scons: Building targets ...
Compiling ==> 'SND_DummyDevice.cpp'
cc1plus: error: invalid option argument `-O2 -fno-strict-aliasing -pipe'
scons: *** [/usr/home/ ... /SoundSystem/dummy/SND_DummyDevice.o] Error 1
scons: building terminated because of errors.
The problem is in the CCFLAGS variable; it is passed to the compiler as
a whole, white spaces between individual flags are ignored. Should I
rewrite variables in some other syntax or what?
Thanks.
More information about the freebsd-ports
mailing list