summaryrefslogtreecommitdiff
path: root/dos
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2006-10-17 15:11:56 -0700
committerH. Peter Anvin <hpa@zytor.com>2006-10-17 15:11:56 -0700
commit362ba2f7d6dfc25e016350815f39e4b7eb0ca2f5 (patch)
tree886f0fe10bf4a961cb4331a37422bd914fd88666 /dos
parent101762dca01e36b9e41ee0ede4348dea251aa89f (diff)
downloadsyslinux-362ba2f7d6dfc25e016350815f39e4b7eb0ca2f5.tar.gz
Move flags from CC to CFLAGS
Diffstat (limited to 'dos')
-rw-r--r--dos/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/dos/Makefile b/dos/Makefile
index 57edfcd0..379cf4a9 100644
--- a/dos/Makefile
+++ b/dos/Makefile
@@ -1,9 +1,9 @@
-CC = gcc -m32 -mregparm=3 -DREGPARM=3
+CC = gcc -m32
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 = -W -Wall -ffreestanding -msoft-float $(OPTFLAGS) $(INCLUDES)
+CFLAGS = -mregparm=3 -DREGPARM=3 -W -Wall -ffreestanding -msoft-float $(OPTFLAGS) $(INCLUDES)
LDFLAGS = -T com16.ld
AR = ar
RANLIB = ranlib