File scons-mini.diff of Package kio-locate

--- scons-local-0.96.1/SCons/Tool/_as.py
+++ scons-local-0.96.1/SCons/Tool/_as.py
@@ -0,0 +1,24 @@
+import SCons.Defaults
+import SCons.Tool
+import SCons.Util
+assemblers=['as']
+ASSuffixes=['.s', '.asm', '.ASM']
+ASPPSuffixes=['.spp', '.SPP']
+if SCons.Util.case_sensitive_suffixes('.s', '.S'):
+    ASPPSuffixes.extend(['.S'])
+else:
+    ASSuffixes.extend(['.S'])
+def generate(env):
+    static_obj, shared_obj=SCons.Tool.createObjBuilders(env)
+    for suffix in ASSuffixes:
+        static_obj.add_action(suffix, SCons.Defaults.ASAction)
+        static_obj.add_emitter(suffix, SCons.Defaults.StaticObjectEmitter)
+    for suffix in ASPPSuffixes:
+        static_obj.add_action(suffix, SCons.Defaults.ASPPAction)
+        static_obj.add_emitter(suffix, SCons.Defaults.StaticObjectEmitter)
+    env['AS']       =env.Detect(assemblers) or 'as'
+    env['ASFLAGS']  =SCons.Util.CLVar('')
+    env['ASCOM']    ='$AS $ASFLAGS -o $TARGET $SOURCES'
+    env['ASPPCOM']  ='$CC $ASFLAGS $CPPFLAGS $_CPPDEFFLAGS $_CPPINCFLAGS -c -o $TARGET $SOURCES'
+def exists(env):
+    return env.Detect(assemblers)
--- scons-local-0.96.1/SCons/Tool/gas.py
+++ scons-local-0.96.1/SCons/Tool/gas.py
@@ -1,7 +1,7 @@
-import as
+import _as
 assemblers=['as', 'gas']
 def generate(env):
-    as.generate(env)
+    _as.generate(env)
     env['AS']       =env.Detect(assemblers) or 'as'
 def exists(env):
     return env.Detect(assemblers)