gcc4 update

This commit is contained in:
Peter Jones 2005-03-16 21:44:52 +00:00
parent bbfc8dc937
commit 5efffa77a5

View File

@ -1,11 +1,12 @@
Summary: Simple kernel loader which boots from a FAT filesystem
Name: syslinux
Version: 3.07
Release: 1
Release: 2
License: GPL
Group: Applications/System
Source0: ftp://ftp.kernel.org/pub/linux/utils/boot/syslinux/%{name}-%{version}.tar.bz2
Patch0: syslinux-2.08-x86_64.patch
Patch1: syslinux-3.07-gcc4.patch
ExclusiveArch: i386 x86_64
Buildroot: %{_tmppath}/%{name}-%{version}-root
BuildPrereq: nasm >= 0.98.38-1, perl, netpbm-progs
@ -39,8 +40,11 @@ necessary to compile such modules.
%prep
%setup -q -n syslinux-%{version}
%patch0 -p1 -b .x86_64
%patch1 -p1 -b .gcc4
%build
CFLAGS="-Werror -Wno-unused -finline-limit=2000"
export CFLAGS
make clean
make installer
make -C sample tidy