Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/compat/powerpc64/powerpc Add



details:   https://anonhg.NetBSD.org/src/rev/d692880772c3
branches:  trunk
changeset: 331753:d692880772c3
user:      matt <matt%NetBSD.org@localhost>
date:      Sat Aug 23 02:20:55 2014 +0000

description:
Add
LDFLAGS+=              -Wl,-m,elf32ppc_nbsd

diffstat:

 compat/powerpc64/powerpc/bsd.powerpc.mk |  7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diffs (20 lines):

diff -r 84d8561ce771 -r d692880772c3 compat/powerpc64/powerpc/bsd.powerpc.mk
--- a/compat/powerpc64/powerpc/bsd.powerpc.mk   Sat Aug 23 02:17:47 2014 +0000
+++ b/compat/powerpc64/powerpc/bsd.powerpc.mk   Sat Aug 23 02:20:55 2014 +0000
@@ -1,6 +1,10 @@
-#      $NetBSD: bsd.powerpc.mk,v 1.2 2014/03/07 05:48:30 matt Exp $
+#      $NetBSD: bsd.powerpc.mk,v 1.3 2014/08/23 02:20:55 matt Exp $
 
 LD+=                   -m elf32ppc_nbsd
+.if empty(LDFLAGS:M*elf32ppc_nbsd*)
+LDFLAGS+=              -Wl,-m,elf32ppc_nbsd
+.endif
+.ifndef MLIBDIR
 MLIBDIR=               powerpc
 LIBC_MACHINE_ARCH=     ${MLIBDIR}
 COMMON_MACHINE_ARCH=   ${MLIBDIR}
@@ -13,3 +17,4 @@
 GOMP_MACHINE_ARCH=     ${MLIBDIR}
 
 .include "${.PARSEDIR}/../../m32.mk"
+.endif



Home | Main Index | Thread Index | Old Index