From 271fc73f95abab3a7962169cb54c1ba1ddba50e1 Mon Sep 17 00:00:00 2001 From: Pearu Peterson Date: Sat, 31 Jan 2004 22:02:30 +0000 Subject: fcompiler classes --- scipy_distutils/pgfcompiler.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'scipy_distutils/pgfcompiler.py') diff --git a/scipy_distutils/pgfcompiler.py b/scipy_distutils/pgfcompiler.py index 0a297335b..68480482f 100644 --- a/scipy_distutils/pgfcompiler.py +++ b/scipy_distutils/pgfcompiler.py @@ -21,11 +21,13 @@ class PGroupFCompiler(FCompiler): 'archiver' : ["ar", "-cr"], 'ranlib' : ["ranlib"] } + pic_flags = ['-fpic'] + module_dir_switch = '-module ' + module_include_switch = '-I' def get_flags(self): opt = ['-Minform=inform','-Mnosecond_underscore'] - opt.append('-fpic') - return opt + return self.pic_flags + opt def get_flags_opt(self): return ['-fast'] def get_flags_debug(self): -- cgit v1.2.1