Fix ppc64le builds

This commit is contained in:
Christopher Tubbs 2017-03-14 05:22:22 -04:00
parent 9cb9bef0ac
commit bf1db3ac97
2 changed files with 15 additions and 0 deletions

13
fix-ppc64le-builds.patch Normal file
View File

@ -0,0 +1,13 @@
diff --git a/aclocal/ax_boost_base.m4 b/aclocal/ax_boost_base.m4
index b496020..30ee0df 100644
--- a/aclocal/ax_boost_base.m4
+++ b/aclocal/ax_boost_base.m4
@@ -92,7 +92,7 @@ if test "x$want_boost" = "xyes"; then
libsubdirs="lib"
ax_arch=`uname -m`
case $ax_arch in
- x86_64|ppc64|s390x|sparc64|aarch64)
+ x86_64|ppc64|ppc64le|s390x|sparc64|aarch64)
libsubdirs="lib64 lib lib64"
;;
esac

View File

@ -76,6 +76,8 @@ Patch0: %{name}-%{version}-buildxml.patch
Patch1: fb303-%{version}-buildxml.patch
# fix configure.ac insistence on using /usr/local/lib for JAVA_PREFIX
Patch2: configure-java-prefix.patch
# fix for ppc64le builds not linking to /usr/lib64 directory
Patch3: fix-ppc64le-builds.patch
Group: Development/Libraries