[packages/gcc] - rel 1; libmpx is not supported on x32

arekm arekm at pld-linux.org
Mon Jan 2 20:48:22 CET 2017


commit c50e46b7dc671f92047d1e296044436a14de8288
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Mon Jan 2 20:48:14 2017 +0100

    - rel 1; libmpx is not supported on x32

 gcc.spec | 7 +++++++
 1 file changed, 7 insertions(+)
---
diff --git a/gcc.spec b/gcc.spec
index 0bf3df4..0c7bb87 100644
--- a/gcc.spec
+++ b/gcc.spec
@@ -3927,6 +3927,8 @@ rm -rf $RPM_BUILD_ROOT
 %endif
 %endif
 
+# see libmpx/configure.tgt for supported architectures
+%ifarch %{x8664} %{ix86}
 %files -n libmpx
 %defattr(644,root,root,755)
 %doc libmpx/ChangeLog
@@ -3947,6 +3949,7 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 %{_libdir}/libmpx.a
 %{_libdir}/libmpxwrappers.a
+%endif
 
 %if %{with multilib}
 %files -n libmpx-multilib-32
@@ -3971,6 +3974,9 @@ rm -rf $RPM_BUILD_ROOT
 %endif
 
 %if %{with multilib2}
+# see libmpx/configure.tgt for supported architectures;
+# no x32 there as of gcc 6.x
+%if "%{multilib2}" != "x32"
 %files -n libmpx-multilib-%{multilib2}
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdirm2}/libmpx.so.*.*.*
@@ -3991,6 +3997,7 @@ rm -rf $RPM_BUILD_ROOT
 %{_libdirm2}/libmpx.a
 %{_libdirm2}/libmpxwrappers.a
 %endif
+%endif
 
 %if %{with ada}
 %files ada
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/gcc.git/commitdiff/c50e46b7dc671f92047d1e296044436a14de8288



More information about the pld-cvs-commit mailing list