ncurses: remove TERMINFO from build env (#12086)

This commit is contained in:
Greg Becker 2019-07-23 10:13:41 -05:00 committed by GitHub
parent 7ea4e50587
commit 4ff2773704
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -33,6 +33,9 @@ class Ncurses(AutotoolsPackage):
patch('patch_gcc_5.txt', when='@6.0%gcc@5.0:') patch('patch_gcc_5.txt', when='@6.0%gcc@5.0:')
patch('sed_pgi.patch', when='@:6.0') patch('sed_pgi.patch', when='@:6.0')
def setup_environment(self, spack_env, run_env):
spack_env.unset('TERMINFO')
def configure(self, spec, prefix): def configure(self, spec, prefix):
opts = [ opts = [
'CFLAGS={0}'.format(self.compiler.pic_flag), 'CFLAGS={0}'.format(self.compiler.pic_flag),