aboutsummaryrefslogtreecommitdiffstats
path: root/com32/libutil/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/libutil/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/libutil/Makefile')
-rw-r--r--com32/libutil/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/com32/libutil/Makefile b/com32/libutil/Makefile
index 12c5c110..90545e31 100644
--- a/com32/libutil/Makefile
+++ b/com32/libutil/Makefile
@@ -40,7 +40,7 @@ LD = ld -m elf_i386
AR = ar
NASM = nasm
RANLIB = ranlib
-CFLAGS = -D__COM32__ -W -Wall -march=i386 -Os -fomit-frame-pointer -I./include -I../include
+CFLAGS = -mregparm=3 -DREGPARM=3 -D__COM32__ -W -Wall -march=i386 -Os -fomit-frame-pointer -I./include -I../include
SFLAGS = -D__COM32__ -march=i386
LDFLAGS = -T ../lib/com32.ld
LNXCFLAGS = -I./include -W -Wall -march=i386 -Os -g