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:
marcel 2004-02-13 04:43:41 +00:00
parent 14080bdf42
commit 347a2e0865
2 changed files with 0 additions and 10 deletions

View File

@ -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

View File

@ -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