summaryrefslogtreecommitdiffstats
path: root/Lib/distutils/unixccompiler.py
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2001-12-06 20:51:35 (GMT)
committerFred Drake <fdrake@acm.org>2001-12-06 20:51:35 (GMT)
commitb94b849d65af71b4b432a74fdaef8ccd88209cc0 (patch)
treed32dd5d053192834153d90685ca56361f5ecc62a /Lib/distutils/unixccompiler.py
parentbcd8975740da47e7d1c8a5d2839ad4bf214fe34b (diff)
downloadcpython-b94b849d65af71b4b432a74fdaef8ccd88209cc0.zip
cpython-b94b849d65af71b4b432a74fdaef8ccd88209cc0.tar.gz
cpython-b94b849d65af71b4b432a74fdaef8ccd88209cc0.tar.bz2
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 a4f0ac4..a9b5de5 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