[syslinux:master] Remove -s for host binaries

syslinux-bot for H. Peter Anvin hpa at linux.intel.com
Mon May 9 15:06:05 PDT 2011


Commit-ID:  b0e7c325933396ff42b38c097a3a7142625b6ab7
Gitweb:     http://syslinux.zytor.com/commit/b0e7c325933396ff42b38c097a3a7142625b6ab7
Author:     H. Peter Anvin <hpa at linux.intel.com>
AuthorDate: Mon, 9 May 2011 15:04:29 -0700
Committer:  H. Peter Anvin <hpa at linux.intel.com>
CommitDate: Mon, 9 May 2011 15:04:29 -0700

Remove -s for host binaries

Remove -s for host binaries; current practice is to let the distro
packaging systems do that themselves.  For the official binaries, we
should probably strip them, but via an external tool.

Signed-off-by: H. Peter Anvin <hpa at linux.intel.com>


---
 extlinux/Makefile |    2 +-
 mtools/Makefile   |    2 +-
 utils/Makefile    |    2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/extlinux/Makefile b/extlinux/Makefile
index 5da19e4..c320f13 100644
--- a/extlinux/Makefile
+++ b/extlinux/Makefile
@@ -22,7 +22,7 @@ OPTFLAGS = -g -Os
 INCLUDES = -I. -I.. -I../libinstaller
 CFLAGS	 = $(GCCWARN) -Wno-sign-compare -D_FILE_OFFSET_BITS=64 \
 	   $(OPTFLAGS) $(INCLUDES)
-LDFLAGS	 = # -s
+LDFLAGS	 = 
 
 SRCS     = main.c \
 	   ../libinstaller/syslxmod.c \
diff --git a/mtools/Makefile b/mtools/Makefile
index 04e9d7d..5d4bc15 100755
--- a/mtools/Makefile
+++ b/mtools/Makefile
@@ -5,7 +5,7 @@ include $(MAKEDIR)/syslinux.mk
 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 \
diff --git a/utils/Makefile b/utils/Makefile
index eed07bb..23f9a3d 100644
--- a/utils/Makefile
+++ b/utils/Makefile
@@ -19,7 +19,7 @@ MAKEDIR = $(topdir)/mk
 include $(MAKEDIR)/syslinux.mk
 
 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



More information about the Syslinux-commits mailing list