Date: Mon, 27 Nov 2006 22:43:13 +0100 From: Karel Miklav <karel@lovetemple.net> To: alexbl@FreeBSD.org Cc: ports@freebsd.org Subject: SCons build, help needed Message-ID: <456B5BF1.9080200@lovetemple.net>
next in thread | raw e-mail | index | archive | help
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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?456B5BF1.9080200>