bridger: fixing issues with newer compilers (#28008)
This commit is contained in:
parent
bbe69aa725
commit
10ccbc9a2c
1 changed files with 8 additions and 0 deletions
|
@ -20,6 +20,14 @@ class Bridger(MakefilePackage, SourceforgePackage):
|
|||
depends_on('boost')
|
||||
depends_on('perl', type='run')
|
||||
|
||||
def flag_handler(self, name, flags):
|
||||
if name == 'cflags':
|
||||
# some of the plugins require gnu extensions
|
||||
flags.append('-std=gnu99')
|
||||
if name == 'cxxflags':
|
||||
flags.append('-std=c++03')
|
||||
return (flags, None, None)
|
||||
|
||||
def install(self, spec, prefix):
|
||||
# bridger depends very much on perl scripts/etc in the source tree
|
||||
install_path = join_path(prefix, 'usr/local/bridger')
|
||||
|
|
Loading…
Reference in a new issue