Change default fflags for XL compiler to only "-qzerosize" (#2966)
This commit is contained in:
parent
4f297f4336
commit
8275b44715
2 changed files with 2 additions and 14 deletions
|
@ -67,13 +67,7 @@ def fflags(self):
|
||||||
# compilers and allows the use of zero size objects.
|
# compilers and allows the use of zero size objects.
|
||||||
# For Fortran 90 and beyond, it is set by default and has not impact.
|
# For Fortran 90 and beyond, it is set by default and has not impact.
|
||||||
# Its use has no negative side effects.
|
# Its use has no negative side effects.
|
||||||
# The -qstrict flag allows the Fortran 90+ compilers to parse the
|
return "-qzerosize"
|
||||||
# source files using fixed form rule. As a result, if -qfixed is in
|
|
||||||
# effect, free form files (that are not also fixed form files) will
|
|
||||||
# fail to compile regardless of the compiler invocation command.
|
|
||||||
# Use the -qfree flag in the packages' configuration file to undo the
|
|
||||||
# -qfixed flag, as the last one wins.
|
|
||||||
return "-qzerosize -qfixed"
|
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def default_version(cls, comp):
|
def default_version(cls, comp):
|
||||||
|
|
|
@ -68,13 +68,7 @@ def fflags(self):
|
||||||
# compilers and allows the use of zero size objects.
|
# compilers and allows the use of zero size objects.
|
||||||
# For Fortran 90 and beyond, it is set by default and has not impact.
|
# For Fortran 90 and beyond, it is set by default and has not impact.
|
||||||
# Its use has no negative side effects.
|
# Its use has no negative side effects.
|
||||||
# The -qstrict flag allows the Fortran 90+ compilers to parse the
|
return "-qzerosize"
|
||||||
# source files using fixed form rule. As a result, if -qfixed is in
|
|
||||||
# effect, free form files (that are not also fixed form files) will
|
|
||||||
# fail to compile regardless of the compiler invocation command.
|
|
||||||
# Use the -qfree flag in the packages' configuration file to undo the
|
|
||||||
# -qfixed flag, as the last one wins.
|
|
||||||
return "-qzerosize -qfixed"
|
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def default_version(self, comp):
|
def default_version(self, comp):
|
||||||
|
|
Loading…
Reference in a new issue