Deleted Added
full compact
Makefile (217028) Makefile (220337)
1# $FreeBSD: head/sys/boot/i386/boot2/Makefile 217028 2011-01-05 21:46:08Z dim $
1# $FreeBSD: head/sys/boot/i386/boot2/Makefile 220337 2011-04-04 18:23:55Z rdivacky $
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

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

26#BOOT2_UFS?= UFS1_ONLY
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 \
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

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

26#BOOT2_UFS?= UFS1_ONLY
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 \
34 -D${BOOT2_UFS} \
35 -DFLAGS=${BOOT_BOOT1_FLAGS} \
36 -DSIOPRT=${BOOT_COMCONSOLE_PORT} \
37 -DSIOFMT=${B2SIOFMT} \
38 -DSIOSPD=${BOOT_COMCONSOLE_SPEED} \
39 -I${.CURDIR}/../../common \
40 -I${.CURDIR}/../btx/lib -I. \
41 -Wall -Waggregate-return -Wbad-function-cast -Wcast-align \

--- 67 unchanged lines hidden ---
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 ---