aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@linux.intel.com>2012-03-26 14:59:39 -0700
committerH. Peter Anvin <hpa@linux.intel.com>2012-03-26 14:59:39 -0700
commit9f8174439428e624088648276b7d1ee11e504594 (patch)
treef54497c2195771eb3292e3fa6898545531c281dd
parent9a276818187f7679cd453f5f1224202e96fc17fc (diff)
downloadsyslinux-9f8174439428e624088648276b7d1ee11e504594.tar.gz
syslinux-9f8174439428e624088648276b7d1ee11e504594.tar.xz
syslinux-9f8174439428e624088648276b7d1ee11e504594.zip
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@linux.intel.com>
-rw-r--r--dosutil/Makefile2
-rw-r--r--memdisk/Makefile2
2 files changed, 2 insertions, 2 deletions
diff --git a/dosutil/Makefile b/dosutil/Makefile
index 5746e86b..6bce6248 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 5475b44d..b5cd52ce 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 =