Fixes needed to build gcc on Linux/ppc64le (#2057)

* Fixes needed to build gcc on Linux/ppc64le

* flake8 fix.
This commit is contained in:
Matthew LeGendre 2016-10-19 23:29:59 -07:00 committed by Todd Gamblin
parent 4b5281bfe6
commit 8de143a994
3 changed files with 1191 additions and 1 deletions

View File

@ -66,7 +66,8 @@ def install(self, spec, prefix):
enabled_languages = set(('c', 'c++', 'fortran', 'java', 'objc'))
if spec.satisfies("@4.7.1:") and sys.platform != 'darwin':
if spec.satisfies("@4.7.1:") and sys.platform != 'darwin' and \
not (spec.satisfies('@:4.9.3') and 'ppc64le' in spec.architecture):
enabled_languages.add('go')
# Fix a standard header file for OS X Yosemite that

View File

@ -30,6 +30,8 @@ class Libsigsegv(Package):
homepage = "https://www.gnu.org/software/libsigsegv/"
url = "ftp://ftp.gnu.org/gnu/libsigsegv/libsigsegv-2.10.tar.gz"
patch('patch.new_config_guess', when='@2.10')
version('2.10', '7f96fb1f65b3b8cbc1582fb7be774f0f')
def install(self, spec, prefix):

File diff suppressed because it is too large Load Diff