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.
_______________________________________________
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "[EMAIL PROTECTED]"