From e3a848699e891c019c974c6f9f9f8597ac6d633f Mon Sep 17 00:00:00 2001 From: Paul Eggleton Date: Wed, 21 Mar 2012 12:12:42 +0000 Subject: syslinux: fix stripped file warnings Fix the following package warnings: WARNING: File '/usr/bin/memdiskfind' from syslinux was already stripped, this will prevent future debugging! WARNING: File '/usr/bin/syslinux' from syslinux was already stripped, this will prevent future debugging! WARNING: File '/usr/bin/gethostip' from syslinux was already stripped, this will prevent future debugging! WARNING: File '/usr/bin/isohybrid' from syslinux was already stripped, this will prevent future debugging! (From OE-Core rev: 90bf61226d1bebd846ad9dc028affc334862e794) Signed-off-by: Paul Eggleton Signed-off-by: Richard Purdie --- .../recipes-devtools/syslinux/files/no-strip.patch | 31 ++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 meta/recipes-devtools/syslinux/files/no-strip.patch (limited to 'meta/recipes-devtools/syslinux/files') diff --git a/meta/recipes-devtools/syslinux/files/no-strip.patch b/meta/recipes-devtools/syslinux/files/no-strip.patch new file mode 100644 index 0000000000..775851a75d --- /dev/null +++ b/meta/recipes-devtools/syslinux/files/no-strip.patch @@ -0,0 +1,31 @@ +Disable stripping of binaries + +We don't want to strip these as this is handled separately at package +time. + +Upstream-Status: Inappropriate [configuration] + +Signed-off-by: Paul Eggleton + +--- syslinux-4.03.orig/mtools/Makefile ++++ syslinux-4.03/mtools/Makefile +@@ -4,7 +4,7 @@ include $(topdir)/MCONFIG + OPTFLAGS = -g -Os + INCLUDES = -I. -I.. -I../libfat -I../libinstaller + CFLAGS = $(GCCWARN) -D_FILE_OFFSET_BITS=64 $(OPTFLAGS) $(INCLUDES) +-LDFLAGS = -s ++LDFLAGS = + + SRCS = syslinux.c \ + ../libinstaller/fat.c \ +--- syslinux-4.03.orig/utils/Makefile ++++ syslinux-4.03/utils/Makefile +@@ -18,7 +18,7 @@ topdir = .. + 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 -- cgit v1.2.3-54-g00ecf