ncurses: Work around an awk bug (#3361)

This commit is contained in:
Erik Schnetter 2017-03-04 08:49:12 -05:00 committed by Adam J. Stewart
parent 1e6871add1
commit 3e4fced7d8

View file

@ -46,6 +46,9 @@ class Ncurses(AutotoolsPackage):
def configure_args(self):
opts = [
# The CPPFLAGS setting works around this bug:
# <http://stackoverflow.com/questions/37475222/ncurses-6-0-compilation-error-error-expected-before-int>
'CPPFLAGS=-P',
'CFLAGS={0}'.format(self.compiler.pic_flag),
'CXXFLAGS={0}'.format(self.compiler.pic_flag),
'--with-shared',