Skip to content

Commit

Permalink
nettle: fix broken build (spack#11611)
Browse files Browse the repository at this point in the history
* nettle: force C99 build

* nettle: update to use c99_flag

from @alalazo

Co-Authored-By: Massimiliano Culpo <massimiliano.culpo@gmail.com>
  • Loading branch information
2 people authored and adamjstewart committed Jun 6, 2019
1 parent 8fd64df commit 8c173da
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions var/spack/repos/builtin/packages/nettle/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,6 @@ class Nettle(AutotoolsPackage):

depends_on('gmp')
depends_on('m4', type='build')

def configure_args(self):
return ['CFLAGS={0}'.format(self.compiler.c99_flag)]

0 comments on commit 8c173da

Please sign in to comment.