Steffen Winterfeldt 2014-03-05 14:00:28 +00:00 committed by Git OBS Bridge
parent e8f506f38a
commit 335baea55a
2 changed files with 14 additions and 2 deletions

View File

@ -0,0 +1,11 @@
--- utils/Makefile
+++ utils/Makefile
@@ -18,7 +18,7 @@
include $(topdir)/MCONFIG
CFLAGS = $(GCCWARN) -Os -fomit-frame-pointer -D_FILE_OFFSET_BITS=64
-LDFLAGS = -O2 -s
+LDFLAGS = -O2
TARGETS = mkdiskimage isohybrid gethostip memdiskfind
TARGETS += isohybrid.pl # about to be obsoleted

View File

@ -1,7 +1,7 @@
#
# spec file for package syslinux
#
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -47,6 +47,7 @@ Patch9: %{name}-%{version}-isohybrid_efi_optional.diff
Patch10: %{name}-%{version}-isohybrid_mbr.diff
Patch11: %{name}-%{version}-localboot.diff
Patch12: %{name}-%{version}-geometry.diff
Patch13: %{name}-%{version}-nostrip.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
@ -75,10 +76,10 @@ Authors:
%patch10 -p1
%patch11 -p1
%patch12 -p1
%patch13 -p0
%build
cp %{SOURCE2} .
export CFLAGS="$RPM_OPT_FLAGS"
make spotless
make