summaryrefslogtreecommitdiff
path: root/Lib/distutils/unixccompiler.py
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2001-12-06 20:51:35 +0000
committerFred Drake <fdrake@acm.org>2001-12-06 20:51:35 +0000
commit722c8db6c6094ca05e4fcb057ad9547df06e58f1 (patch)
tree1ba29572354775538f146d669fa74781980eadab /Lib/distutils/unixccompiler.py
parent4f894130025c6251b992d3990338c73b3bb3ea74 (diff)
downloadcpython-722c8db6c6094ca05e4fcb057ad9547df06e58f1.tar.gz
Whitespace normalization.
Diffstat (limited to 'Lib/distutils/unixccompiler.py')
-rw-r--r--Lib/distutils/unixccompiler.py16
1 files changed, 8 insertions, 8 deletions
diff --git a/Lib/distutils/unixccompiler.py b/Lib/distutils/unixccompiler.py
index a4f0ac4d04..a9b5de51ce 100644
--- a/Lib/distutils/unixccompiler.py
+++ b/Lib/distutils/unixccompiler.py
@@ -103,8 +103,8 @@ class UnixCCompiler (CCompiler):
pp_args.extend(extra_postargs)
# We need to preprocess: either we're being forced to, or we're
- # generating output to stdout, or there's a target output file and
- # the source file is newer than the target (or the target doesn't
+ # generating output to stdout, or there's a target output file and
+ # the source file is newer than the target (or the target doesn't
# exist).
if self.force or output_file is None or newer(source, output_file):
if output_file:
@@ -139,7 +139,7 @@ class UnixCCompiler (CCompiler):
extra_postargs = []
# Compile all source files that weren't eliminated by
- # '_prep_compile()'.
+ # '_prep_compile()'.
for i in range(len(sources)):
src = sources[i] ; obj = objects[i]
if skip_sources[src]:
@@ -157,7 +157,7 @@ class UnixCCompiler (CCompiler):
return objects
# compile ()
-
+
def create_static_lib (self,
objects,
@@ -193,7 +193,7 @@ class UnixCCompiler (CCompiler):
def link (self,
- target_desc,
+ target_desc,
objects,
output_filename,
output_dir=None,
@@ -219,7 +219,7 @@ class UnixCCompiler (CCompiler):
output_filename = os.path.join(output_dir, output_filename)
if self._need_link(objects, output_filename):
- ld_args = (objects + self.objects +
+ ld_args = (objects + self.objects +
lib_opts + ['-o', output_filename])
if debug:
ld_args[:0] = ['-g']
@@ -229,7 +229,7 @@ class UnixCCompiler (CCompiler):
ld_args.extend(extra_postargs)
self.mkpath(os.path.dirname(output_filename))
try:
- if target_desc == CCompiler.EXECUTABLE:
+ if target_desc == CCompiler.EXECUTABLE:
self.spawn(self.linker_exe + ld_args)
else:
self.spawn(self.linker_so + ld_args)
@@ -244,7 +244,7 @@ class UnixCCompiler (CCompiler):
# -- Miscellaneous methods -----------------------------------------
# These are all used by the 'gen_lib_options() function, in
# ccompiler.py.
-
+
def library_dir_option (self, dir):
return "-L" + dir