rpms/dietlibc/devel dietlibc.spec,1.14,1.15
Enrico Scholz (ensc)
fedora-extras-commits at redhat.com
Tue May 24 21:21:59 UTC 2005
Author: ensc
Update of /cvs/extras/rpms/dietlibc/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv16678
Modified Files:
dietlibc.spec
Log Message:
fixed build with gcc4
Index: dietlibc.spec
===================================================================
RCS file: /cvs/extras/rpms/dietlibc/devel/dietlibc.spec,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- dietlibc.spec 24 May 2005 11:20:05 -0000 1.14
+++ dietlibc.spec 24 May 2005 21:21:57 -0000 1.15
@@ -73,13 +73,12 @@
%prep
%setup -q -n %NAME-%version
-%patch1 -p1 -b .nice
-
+%patch1 -p1 -b .nice
%patch10 -p1 -b .scall
-
-%define basemakeflags prefix=%_libdir/dietlibc BINDIR=%_bindir MAN1DIR=%_mandir/man1 COMMENT=: %{!?_with_cross:CFLAGS="$RPM_OPT_FLAGS"}
-%define makeflags %basemakeflags %{?_with_cross:CROSS=%crossarch- ARCH=%target_cpu}
+%global fixcflags -fomit-frame-pointer -fno-exceptions -fno-asynchronous-unwind-tables
+%global basemakeflags prefix=%_libdir/dietlibc BINDIR=%_bindir MAN1DIR=%_mandir/man1 COMMENT=: %{!?_with_cross:CFLAGS="$RPM_OPT_FLAGS %fixcflags"}
+%global makeflags %basemakeflags %{?_with_cross:CROSS=%crossarch- ARCH=%target_cpu}
%build
@@ -137,6 +136,7 @@
%changelog
* Tue May 24 2005 Enrico Scholz <enrico.scholz at informatik.tu-chemnitz.de> - 0.29-1
- updated to 0.29
+- unset some compiler options which cause errors with gcc4
- rediffed -scall patch
- removed most patches as already in upstream
More information about the fedora-extras-commits
mailing list