NASM optimisations now used

This commit is contained in:
pagefault
2003-05-03 02:24:08 +00:00
parent 4b9d11ca60
commit f3dfe61472
3 changed files with 3 additions and 3 deletions

View File

@@ -25,7 +25,7 @@ AC_CHECK_TOOL(NASMPATH,nasm,"no",$nasm_prefix:$PATH)
if test x$NASMPATH = xno; then if test x$NASMPATH = xno; then
AC_MSG_ERROR(You need NASM installed to compile ZSNES) AC_MSG_ERROR(You need NASM installed to compile ZSNES)
fi fi
NFLAGS="$NFLAGS -w-orphan-labels" NFLAGS="$NFLAGS -O1 -w-orphan-labels"
AC_PROG_INSTALL AC_PROG_INSTALL
case "$target" in case "$target" in
*-*-linux*) *-*-linux*)

View File

@@ -64,7 +64,7 @@ LIBS=-lz -lm -lpng
CFLAGS=-O3 -march=i586 -fno-rtti -fno-exceptions -ffast-math\ CFLAGS=-O3 -march=i586 -fno-rtti -fno-exceptions -ffast-math\
-fomit-frame-pointer -fno-unroll-loops -Wall -Wno-unused -D__MSDOS__ -fomit-frame-pointer -fno-unroll-loops -Wall -Wno-unused -D__MSDOS__
ASM=nasm ASM=nasm
ASMFLAGS=-f coff -D__MSDOS__ ASMFLAGS=-O1 -f coff -D__MSDOS__
CC=gcc CC=gcc
PP=gpp PP=gpp

View File

@@ -69,7 +69,7 @@ OBJS=${CHIPSOBJ} ${CPUOBJ} ${WINOBJ} ${GUIOBJ} ${VIDEOBJ} ${ZIPOBJ} ${MAINOBJ} $
LIBS= LIBS=
CFLAGS=/Ox /G6 /c /D__WIN32__ CFLAGS=/Ox /G6 /c /D__WIN32__
ASM=nasm ASM=nasm
ASMFLAGS=-f win32 -D__WIN32__ ASMFLAGS=-O1 -f win32 -D__WIN32__
CC=cl CC=cl
.SUFFIXES: .c .cpp .asm .SUFFIXES: .c .cpp .asm