summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2006-10-17 15:12:47 -0700
committerH. Peter Anvin <hpa@zytor.com>2006-10-17 15:12:47 -0700
commit04b65195ce1619afb68e60e71f76ee942ecd1d08 (patch)
treec978b4ae8cae9f73f33346bf16d5ee7411ba54c6
parent362ba2f7d6dfc25e016350815f39e4b7eb0ca2f5 (diff)
downloadsyslinux-04b65195ce1619afb68e60e71f76ee942ecd1d08.tar.gz
Move -m32 to CFLAGS as well
-rw-r--r--dos/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/dos/Makefile b/dos/Makefile
index 379cf4a9..5029f4a9 100644
--- a/dos/Makefile
+++ b/dos/Makefile
@@ -1,9 +1,9 @@
-CC = gcc -m32
+CC = gcc
LD = ld -m elf_i386
OBJCOPY = objcopy
OPTFLAGS = -g -Os -march=i386 -falign-functions=0 -falign-jumps=0 -falign-loops=0 -fomit-frame-pointer
INCLUDES = -include code16.h -I. -I.. -I../libfat
-CFLAGS = -mregparm=3 -DREGPARM=3 -W -Wall -ffreestanding -msoft-float $(OPTFLAGS) $(INCLUDES)
+CFLAGS = -m32 -mregparm=3 -DREGPARM=3 -W -Wall -ffreestanding -msoft-float $(OPTFLAGS) $(INCLUDES)
LDFLAGS = -T com16.ld
AR = ar
RANLIB = ranlib