[packages/musl] - simplified musl_arch setting

qboosh qboosh at pld-linux.org
Tue Jun 23 20:42:06 CEST 2015


commit 8717f06f005a2288e721e9e7639d2cd75d29881a
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Tue Jun 23 20:43:35 2015 +0200

    - simplified musl_arch setting

 musl.spec | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)
---
diff --git a/musl.spec b/musl.spec
index cdf7592..d694a82 100644
--- a/musl.spec
+++ b/musl.spec
@@ -21,12 +21,11 @@ BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 %define		_fortify_cflags	%{nil}
 %define		_ssp_cflags	%{nil}
 
-# i386, x86_64, arm, mips, microblaze, ppc
-%define		musl_arch	%{_target_base_arch}
-
+# i386, x86_64, x32, arm, mips, microblaze, ppc
 %ifarch x32
-%undefine	musl_arch
 %define		musl_arch	x32
+%else
+%define		musl_arch	%{_target_base_arch}
 %endif
 
 %description
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/musl.git/commitdiff/8717f06f005a2288e721e9e7639d2cd75d29881a



More information about the pld-cvs-commit mailing list