Remove -s for host binaries
authorH. Peter Anvin <hpa@linux.intel.com>
Mon, 9 May 2011 22:04:29 +0000 (15:04 -0700)
committerH. Peter Anvin <hpa@linux.intel.com>
Mon, 9 May 2011 22:04:29 +0000 (15:04 -0700)
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@linux.intel.com>
extlinux/Makefile
mtools/Makefile
utils/Makefile

index 5da19e4..c320f13 100644 (file)
@@ -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 \
index 04e9d7d..5d4bc15 100755 (executable)
@@ -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 \
index eed07bb..23f9a3d 100644 (file)
@@ -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