summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/binutils/package.py
diff options
context:
space:
mode:
authorPeter Scheibel <scheibel1@llnl.gov>2016-05-24 18:56:44 -0700
committerPeter Scheibel <scheibel1@llnl.gov>2016-05-24 18:56:44 -0700
commitdd26c0bbcc8d968a6af872f95bc401ab3ce9aaf2 (patch)
treea7725e2cbf72b207419042d426a3fde224e11f14 /var/spack/repos/builtin/packages/binutils/package.py
parent9eb314fcaaa9a19d59dee3269bd9ddaf738117a3 (diff)
parent1bca69f27281d3bb707bcba41b4f332ab3988509 (diff)
downloadspack-dd26c0bbcc8d968a6af872f95bc401ab3ce9aaf2.tar.gz
spack-dd26c0bbcc8d968a6af872f95bc401ab3ce9aaf2.tar.bz2
spack-dd26c0bbcc8d968a6af872f95bc401ab3ce9aaf2.tar.xz
spack-dd26c0bbcc8d968a6af872f95bc401ab3ce9aaf2.zip
merge from develop
Diffstat (limited to 'var/spack/repos/builtin/packages/binutils/package.py')
-rw-r--r--var/spack/repos/builtin/packages/binutils/package.py29
1 files changed, 29 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/binutils/package.py b/var/spack/repos/builtin/packages/binutils/package.py
index 897539a439..9e4cc98ae6 100644
--- a/var/spack/repos/builtin/packages/binutils/package.py
+++ b/var/spack/repos/builtin/packages/binutils/package.py
@@ -1,3 +1,27 @@
+##############################################################################
+# Copyright (c) 2013-2016, Lawrence Livermore National Security, LLC.
+# Produced at the Lawrence Livermore National Laboratory.
+#
+# This file is part of Spack.
+# Created by Todd Gamblin, tgamblin@llnl.gov, All rights reserved.
+# LLNL-CODE-647188
+#
+# For details, see https://github.com/llnl/spack
+# Please also see the LICENSE file for our notice and the LGPL.
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU Lesser General Public License (as
+# published by the Free Software Foundation) version 2.1, February 1999.
+#
+# This program is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the IMPLIED WARRANTY OF
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the terms and
+# conditions of the GNU Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+##############################################################################
from spack import *
class Binutils(Package):
@@ -12,6 +36,10 @@ class Binutils(Package):
version('2.23.2', '4f8fa651e35ef262edc01d60fb45702e')
version('2.20.1', '2b9dc8f2b7dbd5ec5992c6e29de0b764')
+ depends_on('m4')
+ depends_on('flex')
+ depends_on('bison')
+
# Add a patch that creates binutils libiberty_pic.a which is preferred by OpenSpeedShop and cbtf-krell
variant('krellpatch', default=False, description="build with openspeedshop based patch.")
variant('gold', default=True, description="build the gold linker")
@@ -25,6 +53,7 @@ class Binutils(Package):
configure_args = [
'--prefix=%s' % prefix,
'--disable-dependency-tracking',
+ '--disable-werror',
'--enable-interwork',
'--enable-multilib',
'--enable-shared',