ncurses: Work around an awk bug (#3361)
This commit is contained in:
parent
1e6871add1
commit
3e4fced7d8
1 changed files with 3 additions and 0 deletions
|
@ -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',
|
||||
|
|
Loading…
Reference in a new issue