From 335baea55a55856b58ebc576a71bed1f94c493ebb019b2908b4f13ee8d9c90d4 Mon Sep 17 00:00:00 2001 From: Steffen Winterfeldt Date: Wed, 5 Mar 2014 14:00:28 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/system:install:head/syslinux?expand=0&rev=58 --- syslinux-4.04-nostrip.diff | 11 +++++++++++ syslinux.spec | 5 +++-- 2 files changed, 14 insertions(+), 2 deletions(-) create mode 100644 syslinux-4.04-nostrip.diff diff --git a/syslinux-4.04-nostrip.diff b/syslinux-4.04-nostrip.diff new file mode 100644 index 0000000..97bdf6d --- /dev/null +++ b/syslinux-4.04-nostrip.diff @@ -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 diff --git a/syslinux.spec b/syslinux.spec index 11c05d0..534f705 100644 --- a/syslinux.spec +++ b/syslinux.spec @@ -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