rpms/dietlibc/devel dietlibc-0.28-cflags.patch, NONE, 1.1 dietlibc.spec, 1.7, 1.8

Enrico Scholz (ensc) fedora-extras-commits at redhat.com
Tue Mar 8 13:48:33 UTC 2005


Author: ensc

Update of /cvs/extras/rpms/dietlibc/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv25428

Modified Files:
	dietlibc.spec 
Added Files:
	dietlibc-0.28-cflags.patch 
Log Message:
use more modern flags for '-Os'


dietlibc-0.28-cflags.patch:

--- NEW FILE dietlibc-0.28-cflags.patch ---
2005-03-08 Enrico Scholz <enrico.scholz at informatik.tu-chemnitz.de>

	* diet.c: use more modern compiler-flags with '-Os'; the new
	  ones are having the same effect as the old ones but do not
	  produce warnings

--- dietlibc-0.28/diet.c.cflags	2004-12-17 19:47:58.000000000 +0100
+++ dietlibc-0.28/diet.c	2005-03-08 14:37:03.000000000 +0100
@@ -26,8 +26,8 @@ static void error(const char *message) {
 
 static const char* Os[] = {
   "i386","-Os","-mpreferred-stack-boundary=2",
-	 "-malign-functions=1","-malign-jumps=1",
-	 "-malign-loops=1","-fomit-frame-pointer",0,
+	 "-falign-functions=1","-falign-jumps=1",
+	 "-falign-loops=1","-fomit-frame-pointer",0,
   "x86_64","-Os","-fno-omit-frame-pointer",0,
   "sparc","-Os","-mcpu=supersparc",0,
   "sparc64","-Os","-m64","-mhard-quad-float",0,


Index: dietlibc.spec
===================================================================
RCS file: /cvs/extras/rpms/dietlibc/devel/dietlibc.spec,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- dietlibc.spec	7 Mar 2005 00:25:59 -0000	1.7
+++ dietlibc.spec	8 Mar 2005 13:48:31 -0000	1.8
@@ -36,7 +36,7 @@
 Summary:	Small libc implementation
 Name:		%{?_with_cross:cross-%crossarch-}%NAME
 Version:	0.28
-Release:	%release_func 4
+Release:	%release_func 4.1
 License:	GPL
 Group:		Development/Libraries
 URL:		http://www.fefe.de/dietlibc/
@@ -46,6 +46,7 @@
 Patch1:		dietlibc-0.28-setpriority.patch
 Patch2:		dietlibc-0.28-ppc.patch
 Patch3:		dietlibc-0.28-hppa.patch
+Patch4:		dietlibc-0.28-cflags.patch
 BuildRoot:	%_tmppath/%name-%version-buildroot
 %{?with_dyn:Requires:	dietlibc-lib = %version-%release}
 
@@ -79,6 +80,7 @@
 %patch1 -p1 -b .nice
 %patch2 -p1 -b .ppc
 %patch3 -p1 -b .hppa
+%patch4 -p1 -b .cflags
 
 ## only for 0.28; remove it in 0.29
 sed -i -e 's!LD_RUN_PATH= !env -u LD_RUN_PATH !' Makefile
@@ -149,6 +151,7 @@
 - build the dynamic libs for x86, x86_64 and arm only
 - fixed PPC issues in ISO mode (do not use the 'powerpc' macro but the
   '__powerpc__' one)
+- use more modern flags for '-Os'
 
 * Tue Feb  1 2005 Enrico Scholz <enrico.scholz at informatik.tu-chemnitz.de> - 1:0.28-1
 - updated to 0.28




More information about the fedora-extras-commits mailing list