o Don't build with -fpic. It's not needed and inconsistent with how
other constributions are compiled. o Remove powerpc specific additions to CFLAGS.
This commit is contained in:
parent
14080bdf42
commit
347a2e0865
@ -12,7 +12,6 @@ SRCS+= delay.c efifs.c efinet.c elf_freebsd.c bootinfo.c pal.S
|
||||
SRCS+= efifpswa.c
|
||||
.endif
|
||||
|
||||
CFLAGS+= -fpic
|
||||
CFLAGS+= -I${.CURDIR}/../include
|
||||
CFLAGS+= -I${.CURDIR}/../include/${MACHINE_ARCH}
|
||||
CFLAGS+= -I${.CURDIR}/../../../../lib/libstand
|
||||
@ -20,10 +19,6 @@ CFLAGS+= -I${.CURDIR}/../../../../lib/libstand
|
||||
# Pick up the bootstrap header for some interface items
|
||||
CFLAGS+= -I${.CURDIR}/../../common
|
||||
|
||||
.if ${MACHINE_ARCH} == "powerpc"
|
||||
CFLAGS+= -msoft-float
|
||||
.endif
|
||||
|
||||
.if defined(BOOT_DISK_DEBUG)
|
||||
# Make the disk code more talkative
|
||||
CFLAGS+= -DDISK_DEBUG
|
||||
|
@ -7,7 +7,6 @@ SRCS= skiconsole.c time.c copy.c devicename.c module.c exit.c
|
||||
SRCS+= delay.c skifs.c elf_freebsd.c bootinfo.c ssc.c
|
||||
SRCS+= acpi_stub.c efi_stub.c pal_stub.S sal_stub.c
|
||||
|
||||
CFLAGS+= -fpic
|
||||
CFLAGS+= -I${.CURDIR}/../../../../lib/libstand
|
||||
CFLAGS+= -I${.CURDIR}/../../efi/include
|
||||
CFLAGS+= -I${.CURDIR}/../../efi/include/${MACHINE_ARCH}
|
||||
@ -15,10 +14,6 @@ CFLAGS+= -I${.CURDIR}/../../efi/include/${MACHINE_ARCH}
|
||||
# Pick up the bootstrap header for some interface items
|
||||
CFLAGS+= -I${.CURDIR}/../../common -I${.CURDIR}/../../..
|
||||
|
||||
.if ${MACHINE_ARCH} == "powerpc"
|
||||
CFLAGS+= -msoft-float
|
||||
.endif
|
||||
|
||||
.if defined(BOOT_DISK_DEBUG)
|
||||
# Make the disk code more talkative
|
||||
CFLAGS+= -DDISK_DEBUG
|
||||
|
Loading…
Reference in New Issue
Block a user