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