diff options
author | jakobjakobson13 <43045863+jakobjakobson13@users.noreply.github.com> | 2020-08-12 19:55:50 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-12 10:55:50 -0700 |
commit | 2b54640ad50bbbfecfb4c9cc8c9dd9c161f6a52e (patch) | |
tree | bb48449b4aa98b284921c78240b25690d99f3bb4 | |
parent | a2b9c2d5b6637b040917c0a2ef393dae83f09ee3 (diff) | |
download | numpy-2b54640ad50bbbfecfb4c9cc8c9dd9c161f6a52e.tar.gz |
MAINT: Remove _EXTRAFLAGS variable (#17050)
Delete unused _EXTRAFLAGS variable throughout file
-rw-r--r-- | numpy/distutils/fcompiler/gnu.py | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/numpy/distutils/fcompiler/gnu.py b/numpy/distutils/fcompiler/gnu.py index caa08549e..7004b5d80 100644 --- a/numpy/distutils/fcompiler/gnu.py +++ b/numpy/distutils/fcompiler/gnu.py @@ -23,13 +23,6 @@ def is_win64(): return sys.platform == "win32" and platform.architecture()[0] == "64bit" -if is_win64(): - #_EXTRAFLAGS = ["-fno-leading-underscore"] - _EXTRAFLAGS = [] -else: - _EXTRAFLAGS = [] - - class GnuFCompiler(FCompiler): compiler_type = 'gnu' compiler_aliases = ('g77', ) @@ -297,11 +290,11 @@ class Gnu95FCompiler(GnuFCompiler): executables = { 'version_cmd' : ["<F90>", "-dumpversion"], 'compiler_f77' : [None, "-Wall", "-g", "-ffixed-form", - "-fno-second-underscore"] + _EXTRAFLAGS, + "-fno-second-underscore"], 'compiler_f90' : [None, "-Wall", "-g", - "-fno-second-underscore"] + _EXTRAFLAGS, + "-fno-second-underscore"], 'compiler_fix' : [None, "-Wall", "-g","-ffixed-form", - "-fno-second-underscore"] + _EXTRAFLAGS, + "-fno-second-underscore"], 'linker_so' : ["<F90>", "-Wall", "-g"], 'archiver' : ["ar", "-cr"], 'ranlib' : ["ranlib"], |