aboutsummaryrefslogtreecommitdiffstats
path: root/dos/Makefile
diff options
context:
space:
mode:
authorhpa <hpa>2004-12-16 21:53:20 +0000
committerhpa <hpa>2004-12-16 21:53:20 +0000
commit7a1ffa4627aae0b2d911b70ab45c47cc34203277 (patch)
tree8c833c8d523369a72d8964d57d68f93874004321 /dos/Makefile
parent426289c1a0b5f6ce7a04c2c02329f8108db7f033 (diff)
downloadsyslinux.git-7a1ffa4627aae0b2d911b70ab45c47cc34203277.tar.gz
syslinux.git-7a1ffa4627aae0b2d911b70ab45c47cc34203277.tar.xz
syslinux.git-7a1ffa4627aae0b2d911b70ab45c47cc34203277.zip
Convert to using -mregparm=3; makes the code slightly smaller AND
avoids some stupid problems with .code16 on some binutils versions.
Diffstat (limited to 'dos/Makefile')
-rw-r--r--dos/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/dos/Makefile b/dos/Makefile
index b54098ae..b2b69830 100644
--- a/dos/Makefile
+++ b/dos/Makefile
@@ -1,4 +1,4 @@
-CC = gcc -m32
+CC = gcc -m32 -mregparm=3
LD = ld -m elf_i386
OBJCOPY = objcopy
OPTFLAGS = -g -Os -march=i386 -falign-functions=0 -falign-jumps=0 -falign-loops=0 -fomit-frame-pointer