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:
parent
dd3378bda4
commit
a8eef2f812
1 changed files with 3 additions and 0 deletions
|
@ -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"""
|
||||||
|
|
Loading…
Reference in a new issue