[syslinux:master] Makefile: Use -Ox option to NASM

syslinux-bot for H. Peter Anvin hpa at linux.intel.com
Mon Mar 26 15:03:33 PDT 2012


Commit-ID:  9f8174439428e624088648276b7d1ee11e504594
Gitweb:     http://www.syslinux.org/commit/9f8174439428e624088648276b7d1ee11e504594
Author:     H. Peter Anvin <hpa at linux.intel.com>
AuthorDate: Mon, 26 Mar 2012 14:59:39 -0700
Committer:  H. Peter Anvin <hpa at linux.intel.com>
CommitDate: Mon, 26 Mar 2012 14:59:39 -0700

Makefile: Use -Ox option to NASM

We already require a new enough version of NASM that the -Ox option is
supported, so just use it.

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

---
 dosutil/Makefile |    2 +-
 memdisk/Makefile |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dosutil/Makefile b/dosutil/Makefile
index 5746e86..6bce624 100644
--- a/dosutil/Makefile
+++ b/dosutil/Makefile
@@ -11,7 +11,7 @@ WCLOPT	= -6 -osx -mt -bt=DOS -l=COM
 UPX     = upx
 
 NASM    = nasm
-NASMOPT = -O9999
+NASMOPT = -Ox
 
 WCTARGETS = mdiskchk.com
 NSTARGETS = eltorito.sys copybs.com
diff --git a/memdisk/Makefile b/memdisk/Makefile
index 5475b44..b5cd52c 100644
--- a/memdisk/Makefile
+++ b/memdisk/Makefile
@@ -20,7 +20,7 @@ INCLUDES = -I$(topdir)/com32/include
 CFLAGS  += -D__MEMDISK__ -DDATE='"$(DATE)"'
 LDFLAGS  = $(GCCOPT) -g
 NASM     = nasm
-NASMOPT  = -O9999
+NASMOPT  = -Ox
 NFLAGS   = -dDATE='"$(DATE)"'
 NINCLUDE =
 


More information about the Syslinux-commits mailing list