aboutsummaryrefslogtreecommitdiffstats
path: root/com32/lib
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/lib
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/lib')
-rw-r--r--com32/lib/MCONFIG2
1 files changed, 1 insertions, 1 deletions
diff --git a/com32/lib/MCONFIG b/com32/lib/MCONFIG
index f1874dca..663a8cfd 100644
--- a/com32/lib/MCONFIG
+++ b/com32/lib/MCONFIG
@@ -8,7 +8,7 @@ PERL = perl
STRIP = strip --strip-all -R .comment -R .note
OBJCOPY = objcopy
-REQFLAGS = -g -m32 -D__COM32__ -I. -I./sys -I../include
+REQFLAGS = -g -m32 -mregparm=3 -DREGPARM=3 -D__COM32__ -I. -I./sys -I../include
OPTFLAGS = -Os -march=i386 -falign-functions=0 -falign-jumps=0 -falign-labels=0
WARNFLAGS = -W -Wall -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Winline