fixed build with gcc4
This commit is contained in:
parent
ffd749e625
commit
dcc722e220
1 changed files with 5 additions and 5 deletions
|
|
@ -73,13 +73,12 @@ This package contains the dynamic libraries for dietlibc.
|
|||
|
||||
%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 @@ rm -rf $RPM_BUILD_ROOT
|
|||
%changelog
|
||||
* Tue May 24 2005 Enrico Scholz <enrico.scholz@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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue