SPECS (LINUX_2_6_22): uClibc.spec - done TODO; added verbose bcond

arekm arekm at pld-linux.org
Thu Apr 3 14:22:02 CEST 2008


Author: arekm                        Date: Thu Apr  3 12:22:02 2008 GMT
Module: SPECS                         Tag: LINUX_2_6_22
---- Log message:
- done TODO; added verbose bcond

---- Files affected:
SPECS:
   uClibc.spec (1.153.2.5 -> 1.153.2.6) 

---- Diffs:

================================================================
Index: SPECS/uClibc.spec
diff -u SPECS/uClibc.spec:1.153.2.5 SPECS/uClibc.spec:1.153.2.6
--- SPECS/uClibc.spec:1.153.2.5	Wed Apr  2 09:09:08 2008
+++ SPECS/uClibc.spec	Thu Apr  3 14:21:57 2008
@@ -1,14 +1,8 @@
 # $Revision$, $Date$
-# TODO
-# - fix shared in ix86 not to flip/flop functionality
-# - fix shared on amd64
 #
 # Conditional build:
 %bcond_without	shared		# don't build shared lib support
-#
-%ifarch %{x8664} %{ix86} alpha
-%undefine	with_shared
-%endif
+%bcond_with	verbose		# verbose mode
 #
 Summary:	C library optimized for size
 Summary(pl.UTF-8):	Biblioteka C zoptymalizowana na rozmiar
@@ -26,6 +20,7 @@
 Patch3:		%{name}-debug.patch
 Patch4:		%{name}-stdio-unhide.patch
 Patch5:		%{name}-sparc.patch
+Patch6:		%{name}-gcc3-macro.patch
 URL:		http://uclibc.org/
 BuildRequires:	binutils-gasp
 BuildRequires:	cpp
@@ -81,6 +76,7 @@
 %patch4 -p1
 # check if it's needed now... ldso is broken on sparc anyway
 #%patch5 -p1
+%patch6 -p1
 
 # ARCH is already determined by uname -m
 %ifarch %{ix86}
@@ -147,6 +143,7 @@
 %build
 # NOTE: 'defconfig' and 'all' must be run in separate make process because of macros
 %{__make} defconfig \
+	%{?with_verbose:VERBOSE=1} \
 	TARGET_CPU="%{_target_cpu}" \
 	HOSTCC="%{__cc}" \
 	HOSTCFLAGS="%{rpmcflags} %{rpmldflags}" \
@@ -154,6 +151,7 @@
 	OPTIMIZATION="%{rpmcflags} -Os"
 
 %{__make} \
+	%{?with_verbose:VERBOSE=1} \
 	TARGET_CPU="%{_target_cpu}" \
 	HOSTCC="%{__cc}" \
 	HOSTCFLAGS="%{rpmcflags} %{rpmldflags}" \
@@ -165,6 +163,7 @@
 install -d $RPM_BUILD_ROOT%{_bindir}
 
 %{__make} -j1 install \
+	%{?with_verbose:VERBOSE=1} \
 	TARGET_CPU="%{_target_cpu}" \
 	HOSTCC="%{__cc}" \
 	HOSTCFLAGS="%{rpmcflags} %{rpmldflags}" \
@@ -275,6 +274,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.153.2.6  2008-04-03 12:21:57  arekm
+- done TODO; added verbose bcond
+
 Revision 1.153.2.5  2008-04-02 07:09:08  glen
 - alpha has no shared
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/uClibc.spec?r1=1.153.2.5&r2=1.153.2.6&f=u



More information about the pld-cvs-commit mailing list