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