SPECS: udev.spec - use rpmldflags

sparky sparky at pld-linux.org
Sun Jul 30 20:23:35 CEST 2006


Author: sparky                       Date: Sun Jul 30 18:23:35 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- use rpmldflags

---- Files affected:
SPECS:
   udev.spec (1.185 -> 1.186) 

---- Diffs:

================================================================
Index: SPECS/udev.spec
diff -u SPECS/udev.spec:1.185 SPECS/udev.spec:1.186
--- SPECS/udev.spec:1.185	Fri Jul 14 10:13:53 2006
+++ SPECS/udev.spec	Sun Jul 30 20:23:30 2006
@@ -140,6 +140,8 @@
 
 %prep
 %setup -q
+sed 's/$(CC) -shared/$(LD) -shared/' \
+	 -i extras/volume_id/lib/Makefile
 
 %build
 %if %{with initrd}
@@ -191,6 +193,7 @@
 	libdir=/%{_lib} \
 	usrlibdir=%{_libdir} \
 	CC="%{__cc}" \
+	LD="%{__cc} %{rpmldflags}" \
 	DEBUG=%{!?debug:false}%{?debug:true} \
 	OPTFLAGS="%{rpmcflags}" \
 	USE_KLIBC=false \
@@ -348,6 +351,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.186  2006/07/30 18:23:30  sparky
+- use rpmldflags
+
 Revision 1.185  2006/07/14 08:13:53  shadzik
 - 096
 
@@ -489,7 +495,7 @@
 
 Revision 1.142  2005/12/10 18:38:12  freetz
 - 077, package included persistent.rules, package more extra scripts,
-  %%files updated
+  %files updated
 
 Revision 1.141  2005/11/25 21:58:03  wolf
 - add url
@@ -616,7 +622,8 @@
 - extras/chassis_id is no longer?
 
 Revision 1.103  2005/10/14 15:39:53  glen
-- need USE_KLIBC=true for klibc build otherwise incompatible CFLAGS are passed in Makefile
+- need USE_KLIBC=true for klibc build otherwise incompatible CFLAGS are passed
+  in Makefile
 - fix make clean
 
 Revision 1.102  2005/10/14 15:23:40  glen
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/udev.spec?r1=1.185&r2=1.186&f=u



More information about the pld-cvs-commit mailing list