boot/dloader: Remove duplicate CFLAGS
authorJohn Marino <draco@marino.st>
Sat, 25 Oct 2014 07:04:29 +0000 (09:04 +0200)
committerJohn Marino <draco@marino.st>
Sat, 25 Oct 2014 07:32:49 +0000 (09:32 +0200)
The -ffreestanding flag gets defined by ../pc32/Makefile.inc which
both platforms pull in.  The -m32 flag is defined by ../pc64/Makefile
which only x86_64 pulls in.

sys/boot/dloader/Makefile

index e1d38a1..6fad1a1 100644 (file)
@@ -8,7 +8,6 @@
 .PATH: ${.CURDIR}/${MACHINE_ARCH}
 SRCS=  subs.c config.c cmds.c
 
-CFLAGS+=       -ffreestanding
 .if HAVE_PNP
 CFLAGS+=       -DHAVE_PNP
 .endif
@@ -32,7 +31,7 @@ stack_protector.o: ../../libkern/stack_protector.c
 .endif
 
 .if defined(REALLY_X86_64)
-CFLAGS+=       -m32 -I.
+CFLAGS+=       -I.
 .endif
 
 CFLAGS+=       -I${.CURDIR}