From b0e7c325933396ff42b38c097a3a7142625b6ab7 Mon Sep 17 00:00:00 2001 From: "H. Peter Anvin" Date: Mon, 9 May 2011 15:04:29 -0700 Subject: [PATCH] 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 --- 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 -- 2.7.4