aboutsummaryrefslogtreecommitdiffstats
path: root/com32/modules/Makefile
diff options
context:
space:
mode:
authorhpa <hpa>2004-12-16 22:12:22 +0000
committerhpa <hpa>2004-12-16 22:12:22 +0000
commit936ae1bbbc0f0966a7bc1160a6dbeca3abe80a6f (patch)
tree9f54c0522489f3d1ba297172e5c29b7722a55862 /com32/modules/Makefile
parent7a1ffa4627aae0b2d911b70ab45c47cc34203277 (diff)
downloadsyslinux-elf-936ae1bbbc0f0966a7bc1160a6dbeca3abe80a6f.tar.gz
syslinux-elf-936ae1bbbc0f0966a7bc1160a6dbeca3abe80a6f.tar.xz
syslinux-elf-936ae1bbbc0f0966a7bc1160a6dbeca3abe80a6f.zip
Compile with regparm turned on.syslinux-2.20-pre2
Diffstat (limited to 'com32/modules/Makefile')
-rw-r--r--com32/modules/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/com32/modules/Makefile b/com32/modules/Makefile
index f64cf377..e5d1dfa7 100644
--- a/com32/modules/Makefile
+++ b/com32/modules/Makefile
@@ -25,7 +25,7 @@ LD = ld -m elf_i386
AR = ar
NASM = nasm
RANLIB = ranlib
-CFLAGS = -W -Wall -march=i386 -Os -fomit-frame-pointer -I../libutil/include -I../include -D__COM32__
+CFLAGS = -mregparm=3 -DREGPARM=3 -W -Wall -march=i386 -Os -fomit-frame-pointer -I../libutil/include -I../include -D__COM32__
LNXCFLAGS = -W -Wall -march=i386 -Os -g -I../libutil/include
LNXSFLAGS = -march=i386
LNXLDFLAGS = -g