SPECS: busybox.spec - add verbose flag; filter out -Wl,-z,-combrel...

arekm arekm at pld-linux.org
Sun Apr 27 16:35:35 CEST 2008


Author: arekm                        Date: Sun Apr 27 14:35:35 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- add verbose flag; filter out -Wl,-z,-combreloc (caused linking to be done against glibc not uclibc)

---- Files affected:
SPECS:
   busybox.spec (1.147 -> 1.148) 

---- Diffs:

================================================================
Index: SPECS/busybox.spec
diff -u SPECS/busybox.spec:1.147 SPECS/busybox.spec:1.148
--- SPECS/busybox.spec:1.147	Sun Apr 27 14:54:08 2008
+++ SPECS/busybox.spec	Sun Apr 27 16:35:30 2008
@@ -25,6 +25,7 @@
 %bcond_without	initrd		# don't build initrd version
 %bcond_with	dietlibc	# build dietlibc-based initrd version
 %bcond_with	glibc		# build glibc-based initrd version
+%bcond_with	verbose
 #
 %ifnarch %{ix86} %{x8664} ppc
 %define with_glibc 1
@@ -88,6 +89,8 @@
 	%define CrossOpts %{nil}
 %endif
 
+%define		filterout_ld	-Wl,-z,-combreloc
+
 %description
 BusyBox combines tiny versions of many common UNIX utilities into a
 single small executable. It provides minimalist replacements for most
@@ -163,6 +166,7 @@
 install %{SOURCE2} .config
 %{__make} oldconfig
 %{__make} \
+	%{?with_verbose:V=1} \
 	CROSS_CFLAGS="%{rpmcflags} -Os -D_BSD_SOURCE" \
 	LDFLAGS="%{ld_rpmldflags} -static" \
 %if %{with dietlibc}
@@ -194,6 +198,7 @@
 %if %{with static}
 %{__make} oldconfig
 %{__make} \
+	%{?with_verbose:V=1} \
 	%{CrossOpts} \
 	CFLAGS_EXTRA="%{rpmcflags}" \
 	LDFLAGS="%{ld_rpmldflags} -static" \
@@ -204,6 +209,7 @@
 
 %{__make} oldconfig
 %{__make} \
+	%{?with_verbose:V=1} \
 	%{CrossOpts} \
 	CFLAGS_EXTRA="%{rpmcflags}" \
 	LDFLAGS="%{ld_rpmldflags}" \
@@ -266,6 +272,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.148  2008-04-27 14:35:30  arekm
+- add verbose flag; filter out -Wl,-z,-combreloc (caused linking to be done against glibc not uclibc)
+
 Revision 1.147  2008-04-27 12:54:08  areq
 - 1.10.1, NFY
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/busybox.spec?r1=1.147&r2=1.148&f=u



More information about the pld-cvs-commit mailing list