diff options
Diffstat (limited to 'sys/boot/i386/gptboot/Makefile')
-rw-r--r-- | sys/boot/i386/gptboot/Makefile | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/boot/i386/gptboot/Makefile b/sys/boot/i386/gptboot/Makefile index 5425c08..be61873 100644 --- a/sys/boot/i386/gptboot/Makefile +++ b/sys/boot/i386/gptboot/Makefile @@ -27,10 +27,10 @@ BTX= ${.CURDIR}/../btx ORG1= 0x7c00 ORG2= 0x1000 -CFLAGS= -elf -I${.CURDIR}/../btx/lib -I. \ - -Os -fno-builtin -fforce-addr -fdata-sections \ - -malign-functions=0 -malign-jumps=0 -malign-loops=0 -mrtd \ - -mpreferred-stack-boundary=2 \ +CFLAGS= -elf -ffreestanding -Os -fno-builtin -fforce-addr -fdata-sections \ + -fno-align-functions -fno-align-jumps -fno-align-loops -fno-align-labels \ + -mrtd -mpreferred-stack-boundary=2 \ + -I${.CURDIR}/../btx/lib -I. \ -Wall -Waggregate-return -Wbad-function-cast -Wcast-align \ -Wmissing-declarations -Wmissing-prototypes -Wnested-externs \ -Wpointer-arith -Wshadow -Wstrict-prototypes -Wwrite-strings |