diff options
| author | cookedm <cookedm@localhost> | 2006-01-18 22:05:45 +0000 |
|---|---|---|
| committer | cookedm <cookedm@localhost> | 2006-01-18 22:05:45 +0000 |
| commit | ecd4f328c4f434d41d96d52e3e7535cedb99ef81 (patch) | |
| tree | 7c1ab5039fc45e26676c09fd0dd640c8cd17d678 /numpy/distutils/fcompiler | |
| parent | b38716564107fd241239c864d0ce9e68fbf82581 (diff) | |
| download | numpy-ecd4f328c4f434d41d96d52e3e7535cedb99ef81.tar.gz | |
Revert passing -m32 to g77
Diffstat (limited to 'numpy/distutils/fcompiler')
| -rw-r--r-- | numpy/distutils/fcompiler/gnu.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/numpy/distutils/fcompiler/gnu.py b/numpy/distutils/fcompiler/gnu.py index 535334ed4..b0189bef0 100644 --- a/numpy/distutils/fcompiler/gnu.py +++ b/numpy/distutils/fcompiler/gnu.py @@ -51,7 +51,7 @@ class GnuFCompiler(FCompiler): # return FCompiler.get_linker_so(self) def get_flags_linker_so(self): - opt = ['-m32'] + opt = [] if sys.platform=='darwin': target = os.environ.get('MACOSX_DEPLOYMENT_TARGET', None) if target is None: @@ -63,7 +63,7 @@ class GnuFCompiler(FCompiler): 'MACOSX_DEPLOYMENT_TARGET reset to 10.3') os.environ['MACOSX_DEPLOYMENT_TARGET'] = '%s.%s' % (major, minor) - + opt.extend(['-undefined', 'dynamic_lookup', '-bundle']) else: opt.append("-shared") @@ -79,7 +79,7 @@ class GnuFCompiler(FCompiler): def get_libgcc_dir(self): status, output = exec_command('%s -print-libgcc-file-name' \ - % (self.compiler_f77[0]),use_tee=0) + % (self.compiler_f77[0]),use_tee=0) if not status: return os.path.dirname(output) return |
