[packages/musl] - build on x32, too
arekm
arekm at pld-linux.org
Tue Jun 16 20:01:49 CEST 2015
commit 437e273620869664848cf99e95663caeaca7754a
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Tue Jun 16 20:01:36 2015 +0200
- build on x32, too
musl.spec | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
---
diff --git a/musl.spec b/musl.spec
index 09d56b0..cdf7592 100644
--- a/musl.spec
+++ b/musl.spec
@@ -12,7 +12,7 @@ URL: http://www.musl-libc.org/
BuildRequires: gcc >= 5:3.2
BuildRequires: zlib-devel
Requires: uname(release) >= 2.6.0
-ExclusiveArch: %{ix86} %{x8664} arm mips microblaze ppc
+ExclusiveArch: %{ix86} %{x8664} x32 arm mips microblaze ppc
ExcludeArch: i386
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -24,6 +24,11 @@ BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
# i386, x86_64, arm, mips, microblaze, ppc
%define musl_arch %{_target_base_arch}
+%ifarch x32
+%undefine musl_arch
+%define musl_arch x32
+%endif
+
%description
musl libc is a new standard library to power a new generation of
Linux-based devices. It is lightweight, fast, simple, free, and
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/musl.git/commitdiff/437e273620869664848cf99e95663caeaca7754a
More information about the pld-cvs-commit
mailing list