Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/lgpl3/gmp/lib/libgmp/arch/powerpc for now, compile ...
details: https://anonhg.NetBSD.org/src/rev/28bdfb839bca
branches: trunk
changeset: 767036:28bdfb839bca
user: mrg <mrg%NetBSD.org@localhost>
date: Thu Jul 07 08:02:52 2011 +0000
description:
for now, compile all the powerpc asm files -DPIC. fix this properly by
either compiling the dynamic version in a other dir separately, or call
gcc on the fly with the right arguments without generating .S file at all.
diffstat:
external/lgpl3/gmp/lib/libgmp/arch/powerpc/Makefile.inc | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (23 lines):
diff -r 030b49c6920c -r 28bdfb839bca external/lgpl3/gmp/lib/libgmp/arch/powerpc/Makefile.inc
--- a/external/lgpl3/gmp/lib/libgmp/arch/powerpc/Makefile.inc Thu Jul 07 07:47:11 2011 +0000
+++ b/external/lgpl3/gmp/lib/libgmp/arch/powerpc/Makefile.inc Thu Jul 07 08:02:52 2011 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.inc,v 1.2 2011/07/03 06:43:16 mrg Exp $
+# $NetBSD: Makefile.inc,v 1.3 2011/07/07 08:02:52 mrg Exp $
SRCS+= \
random.c \
@@ -175,11 +175,11 @@
BUILD_S_INCS= -I${.CURDIR} -I${.OBJDIR}/dummy -I${DIST}/ -I${DIST}/mpn
-M4FLAGS.mode1s.o= -DPIC
+M4FLAGS= -DPIC
.for _build _src in ${ASM_SRCS_LIST}
${_build:R}.s: Makefile dummy ${.OBJDIR}/config.m4
${TOOL_M4} -DCONFIG_TOP_SRCDIR=${DIST} ${BUILD_S_INCS} \
- ${M4FLAGS.${.TARGET:R}} \
+ ${M4FLAGS} ${M4FLAGS.${.TARGET:R}} \
-DOPERATION_${.TARGET:R} ${DIST}/${_src} > ${.TARGET}
SRCS+= ${_build:R}.s
Home |
Main Index |
Thread Index |
Old Index