ncurses: don't run strip internally (#13843)
* ncurses: don't run strip internally * setup_environment -> setup_build_environment * fix ABI change
This commit is contained in:
parent
c3c5abb9cc
commit
8b1d800d53
@ -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 @@ def flag_handler(self, name, flags):
|
||||
|
||||
def configure(self, spec, prefix):
|
||||
opts = [
|
||||
'--disable-stripping',
|
||||
'--with-shared',
|
||||
'--with-cxx-shared',
|
||||
'--enable-overwrite',
|
||||
|
Loading…
Reference in New Issue
Block a user