nettle: fix broken build (#11611)

* nettle: force C99 build

* nettle: update to use c99_flag

from @alalazo

Co-Authored-By: Massimiliano Culpo <massimiliano.culpo@gmail.com>
This commit is contained in:
Justin S 2019-06-05 19:09:01 -05:00 committed by Adam J. Stewart
parent 8fd64dfa08
commit 8c173da4b7

View file

@ -22,3 +22,6 @@ class Nettle(AutotoolsPackage):
depends_on('gmp') depends_on('gmp')
depends_on('m4', type='build') depends_on('m4', type='build')
def configure_args(self):
return ['CFLAGS={0}'.format(self.compiler.c99_flag)]