sz: run "make clean" after configure (#15759)

At least the v2.0.2.0 tar ball contains compiled object files etc, which
cause the build to fail on other architectures (ppc64le in particular), so
this patch adds a `make clean` after configuring first.
This commit is contained in:
Kai Germaschewski 2020-04-17 04:59:42 -04:00 committed by GitHub
parent dd3378bda4
commit a8eef2f812
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -71,6 +71,9 @@ def cmake(self, spec, prefix):
else: else:
configure_args.append("--disable-fortran") configure_args.append("--disable-fortran")
configure(*configure_args) configure(*configure_args)
# at least the v2.0.2.0 tarball contains object files
# which need to be cleaned out
make("clean")
def cmake_args(self): def cmake_args(self):
"""configure the package with CMake for version 2.1.8.1 and later""" """configure the package with CMake for version 2.1.8.1 and later"""