SPECS: v86d.spec - updated klibc-ldflags patch not to break on multilib sys...

qboosh qboosh at pld-linux.org
Sat Nov 15 08:40:21 CET 2008


Author: qboosh                       Date: Sat Nov 15 07:40:21 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- updated klibc-ldflags patch not to break on multilib systems

---- Files affected:
SPECS:
   v86d.spec (1.20 -> 1.21) 

---- Diffs:

================================================================
Index: SPECS/v86d.spec
diff -u SPECS/v86d.spec:1.20 SPECS/v86d.spec:1.21
--- SPECS/v86d.spec:1.20	Fri Nov 14 00:14:03 2008
+++ SPECS/v86d.spec	Sat Nov 15 08:40:15 2008
@@ -66,8 +66,12 @@
 	--with%{!?with_x86emu:out}-x86emu
 
 %{__make} \
-	%{!?with_klibc:CC="%{__cc}"} \
-	OPTFLAGS="%{rpmcflags}%{!?with_klibc:%{!?with_x86emu: -I/usr/include/lrmi}}"
+%if %{with klibc}
+	LIB=%{_lib} \
+%else
+	CC="%{__cc}" \
+%endif
+	OPTFLAGS="%{rpmcflags}%{!?with_x86emu: -I/usr/include/lrmi}"
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -91,6 +95,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.21  2008/11/15 07:40:15  qboosh
+- updated klibc-ldflags patch not to break on multilib systems
+
 Revision 1.20  2008/11/13 23:14:03  mguevara
 - v86d-klibc-ldflags.patch works with x86 (ie. build with klibc and x86emu)
   removed ifarch x86_64 for the patch
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/v86d.spec?r1=1.20&r2=1.21&f=u



More information about the pld-cvs-commit mailing list