[syslinux:pathbased] extlinux: don't compile with -O0

syslinux-bot for H. Peter Anvin hpa at linux.intel.com
Tue Jun 15 17:18:10 PDT 2010


Commit-ID:  07fa0f9de655e41e153aaed17398f0d02768d323
Gitweb:     http://syslinux.zytor.com/commit/07fa0f9de655e41e153aaed17398f0d02768d323
Author:     H. Peter Anvin <hpa at linux.intel.com>
AuthorDate: Tue, 15 Jun 2010 17:15:02 -0700
Committer:  H. Peter Anvin <hpa at linux.intel.com>
CommitDate: Tue, 15 Jun 2010 17:15:02 -0700

extlinux: don't compile with -O0

-O0 is good for debugging, but sucks for production.

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


---
 extlinux/Makefile |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/extlinux/Makefile b/extlinux/Makefile
index c197790..ab92c2c 100644
--- a/extlinux/Makefile
+++ b/extlinux/Makefile
@@ -17,7 +17,7 @@
 topdir = ..
 include $(topdir)/MCONFIG
 
-OPTFLAGS = -g -O0
+OPTFLAGS = -g -Os
 INCLUDES = -I. -I.. -I../libinstaller
 CFLAGS	 = $(GCCWARN) -Wno-sign-compare -D_FILE_OFFSET_BITS=64 \
 	   $(OPTFLAGS) $(INCLUDES)



More information about the Syslinux-commits mailing list