Index: codeine-1.0.1/SConstruct
===================================================================
--- codeine-1.0.1.orig/SConstruct
+++ codeine-1.0.1/SConstruct
@@ -3,8 +3,10 @@
 ###########################################
 ## Common section, for loading the tools
 
+import os
+
 ## Load the builders in config
-env = Environment(TARGS=COMMAND_LINE_TARGETS, ARGS=ARGUMENTS, tools=['default', 'generic', 'kde', 'codeine'], toolpath=['./scons/'])
+env = Environment(TARGS=COMMAND_LINE_TARGETS, ARGS=ARGUMENTS, tools=['default', 'generic', 'kde', 'codeine'], toolpath=['./scons/'], CC=os.environ['CC'], CXX=os.environ['CXX'])
 
 
 ## the configuration should be done by now, quit
@@ -35,7 +37,7 @@ This has several advantages for both dev
 import os
 env.AppendUnique( ENV = os.environ )
 ## If you do not want to copy the whole environment, you can use this instead (HOME is necessary for uic):
-#env.AppendUnique( ENV = {'PATH' : os.environ['PATH'], 'HOME' : os.environ['HOME']} )
+env.Append( ENV = {'PATH' : os.environ['PATH'], 'HOME' : os.environ['HOME']} )
 
 ## The target make dist requires the python module shutil which is in 2.3
 env.EnsurePythonVersion(2, 3)