Deleted Added
full compact
Makefile (220337) Makefile (221177)
1# $FreeBSD: head/sys/boot/i386/boot2/Makefile 220337 2011-04-04 18:23:55Z rdivacky $
1# $FreeBSD: head/sys/boot/i386/boot2/Makefile 221177 2011-04-28 17:44:24Z jhb $
2
3.include <bsd.own.mk>
4
5# XXX: clang can compile the boot code just fine, but boot2 gets too big
6CC:=${CC:C/^(.*\/)?clang$/gcc/1}
7
8FILES= boot boot1 boot2
9

--- 17 unchanged lines hidden (view full) ---

27
28CFLAGS= -Os \
29 -fno-guess-branch-probability \
30 -fomit-frame-pointer \
31 -fno-unit-at-a-time \
32 -mno-align-long-strings \
33 -mrtd \
34 -mregparm=3 \
2
3.include <bsd.own.mk>
4
5# XXX: clang can compile the boot code just fine, but boot2 gets too big
6CC:=${CC:C/^(.*\/)?clang$/gcc/1}
7
8FILES= boot boot1 boot2
9

--- 17 unchanged lines hidden (view full) ---

27
28CFLAGS= -Os \
29 -fno-guess-branch-probability \
30 -fomit-frame-pointer \
31 -fno-unit-at-a-time \
32 -mno-align-long-strings \
33 -mrtd \
34 -mregparm=3 \
35 -DUSE_XREAD \
35 -D${BOOT2_UFS} \
36 -DFLAGS=${BOOT_BOOT1_FLAGS} \
37 -DSIOPRT=${BOOT_COMCONSOLE_PORT} \
38 -DSIOFMT=${B2SIOFMT} \
39 -DSIOSPD=${BOOT_COMCONSOLE_SPEED} \
40 -I${.CURDIR}/../../common \
41 -I${.CURDIR}/../btx/lib -I. \
42 -Wall -Waggregate-return -Wbad-function-cast -Wcast-align \

--- 67 unchanged lines hidden ---
36 -D${BOOT2_UFS} \
37 -DFLAGS=${BOOT_BOOT1_FLAGS} \
38 -DSIOPRT=${BOOT_COMCONSOLE_PORT} \
39 -DSIOFMT=${B2SIOFMT} \
40 -DSIOSPD=${BOOT_COMCONSOLE_SPEED} \
41 -I${.CURDIR}/../../common \
42 -I${.CURDIR}/../btx/lib -I. \
43 -Wall -Waggregate-return -Wbad-function-cast -Wcast-align \

--- 67 unchanged lines hidden ---