aboutsummaryrefslogtreecommitdiffstats
path: root/com32/libutil/Makefile
diff options
context:
space:
mode:
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