File lprof-scons.patch of Package lprof
--- SConstruct
+++ SConstruct
@@ -180,8 +180,8 @@
# setup compiler flags
# XXX Why isn't this CFLAGS, rather than CCFLAGS? - gdt
# Why the lack of symmetry between C and CXX? -gdt
-env.Append(CCFLAGS=env ['ccflags'])
-env.Replace(CXXFLAGS=env ['cxxflags'] + ' -DQT_THREAD_SUPPORT')
+env.Append(CCFLAGS=(env ['ccflags'], ) + ('-DQT_THREAD_SUPPORT', ))
+env.Replace(CXXFLAGS=(env ['cxxflags'], ) + ('-DQT_THREAD_SUPPORT', ))
# check system to make sure everything needed is available
# begin configuration section