Makefile: Use -Ox option to NASM
authorH. Peter Anvin <hpa@linux.intel.com>
Mon, 26 Mar 2012 21:59:39 +0000 (14:59 -0700)
committerH. Peter Anvin <hpa@linux.intel.com>
Mon, 26 Mar 2012 21:59:39 +0000 (14:59 -0700)
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@linux.intel.com>
dosutil/Makefile
memdisk/Makefile

index 5746e86..6bce624 100644 (file)
@@ -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
index 5475b44..b5cd52c 100644 (file)
@@ -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 =