summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Junghans <junghans@lanl.gov>2019-11-23 20:47:59 -0700
committerGitHub <noreply@github.com>2019-11-23 20:47:59 -0700
commit8b1d800d537527b75c8f8acde366f3672016cc9d (patch)
tree4a6105fa7600307e3b78638cc743c3a18732f61f
parentc3c5abb9cca4486f7ec4583006bcc9766c47c9f1 (diff)
downloadspack-8b1d800d537527b75c8f8acde366f3672016cc9d.tar.gz
spack-8b1d800d537527b75c8f8acde366f3672016cc9d.tar.bz2
spack-8b1d800d537527b75c8f8acde366f3672016cc9d.tar.xz
spack-8b1d800d537527b75c8f8acde366f3672016cc9d.zip
ncurses: don't run strip internally (#13843)
* ncurses: don't run strip internally * setup_environment -> setup_build_environment * fix ABI change
-rw-r--r--var/spack/repos/builtin/packages/ncurses/package.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/var/spack/repos/builtin/packages/ncurses/package.py b/var/spack/repos/builtin/packages/ncurses/package.py
index 2e77799233..4d6cb4cbcc 100644
--- a/var/spack/repos/builtin/packages/ncurses/package.py
+++ b/var/spack/repos/builtin/packages/ncurses/package.py
@@ -34,8 +34,8 @@ class Ncurses(AutotoolsPackage):
patch('patch_gcc_5.txt', when='@6.0%gcc@5.0:')
patch('sed_pgi.patch', when='@:6.0')
- def setup_environment(self, spack_env, run_env):
- spack_env.unset('TERMINFO')
+ def setup_build_environment(self, env):
+ env.unset('TERMINFO')
def flag_handler(self, name, flags):
if name == 'cflags' or name == 'cxxflags':
@@ -45,6 +45,7 @@ class Ncurses(AutotoolsPackage):
def configure(self, spec, prefix):
opts = [
+ '--disable-stripping',
'--with-shared',
'--with-cxx-shared',
'--enable-overwrite',