Author: nwhitehorn
Date: Thu Dec  3 00:08:50 2015
New Revision: 291667
URL: https://svnweb.freebsd.org/changeset/base/291667

Log:
  Clean up PowerPC bootloader compiler flags to fix the build with GCC 5.2
  and binutils 2.25.

Modified:
  head/sys/boot/powerpc/Makefile.inc
  head/sys/boot/powerpc/boot1.chrp/Makefile

Modified: head/sys/boot/powerpc/Makefile.inc
==============================================================================
--- head/sys/boot/powerpc/Makefile.inc  Thu Dec  3 00:06:59 2015        
(r291666)
+++ head/sys/boot/powerpc/Makefile.inc  Thu Dec  3 00:08:50 2015        
(r291667)
@@ -2,7 +2,6 @@
 
 .if ${MACHINE_ARCH} == "powerpc64"
 CFLAGS+=       -m32 -mcpu=powerpc
-LDFLAGS+=      -m elf32ppc_fbsd
 .endif
 
 .include "../Makefile.inc"

Modified: head/sys/boot/powerpc/boot1.chrp/Makefile
==============================================================================
--- head/sys/boot/powerpc/boot1.chrp/Makefile   Thu Dec  3 00:06:59 2015        
(r291666)
+++ head/sys/boot/powerpc/boot1.chrp/Makefile   Thu Dec  3 00:08:50 2015        
(r291667)
@@ -12,7 +12,7 @@ SRCS=         boot1.c ashldi3.c syncicache.c
 
 MAN=
 
-CFLAGS= -ffreestanding -msoft-float -Os \
+CFLAGS= -ffreestanding -msoft-float \
        -I${.CURDIR}/../../common -I${.CURDIR}/../../../ \
        -D_STANDALONE
 LDFLAGS=-nostdlib -static -Wl,-N
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to