tophat: fixing build issue with newer automakes (#32082)

This commit is contained in:
snehring 2022-08-15 15:33:15 -05:00 committed by GitHub
parent cc48076e26
commit 713c716195
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -29,6 +29,10 @@ class Tophat(AutotoolsPackage):
parallel = False
def patch(self):
# Newer versions of autoconf hate calling AM_INIT_AUTOMAKE twice
filter_file(r"^AM_INIT_AUTOMAKE$", "", "configure.ac")
def setup_build_environment(self, env):
env.append_flags("CFLAGS", self.compiler.cxx98_flag)