From 362ba2f7d6dfc25e016350815f39e4b7eb0ca2f5 Mon Sep 17 00:00:00 2001 From: "H. Peter Anvin" Date: Tue, 17 Oct 2006 15:11:56 -0700 Subject: [PATCH] Move flags from CC to CFLAGS --- dos/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dos/Makefile b/dos/Makefile index 57edfcd..379cf4a 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 -- 2.7.4