ncurses: Work around an awk bug (#3361)
This commit is contained in:

committed by
Adam J. Stewart

parent
1e6871add1
commit
3e4fced7d8
@@ -46,6 +46,9 @@ class Ncurses(AutotoolsPackage):
|
|||||||
|
|
||||||
def configure_args(self):
|
def configure_args(self):
|
||||||
opts = [
|
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),
|
'CFLAGS={0}'.format(self.compiler.pic_flag),
|
||||||
'CXXFLAGS={0}'.format(self.compiler.pic_flag),
|
'CXXFLAGS={0}'.format(self.compiler.pic_flag),
|
||||||
'--with-shared',
|
'--with-shared',
|
||||||
|
Reference in New Issue
Block a user