Module Name:    src
Committed By:   mrg
Date:           Thu Jul  7 08:02:52 UTC 2011

Modified Files:
        src/external/lgpl3/gmp/lib/libgmp/arch/powerpc: Makefile.inc

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 \
    src/external/lgpl3/gmp/lib/libgmp/arch/powerpc/Makefile.inc

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/lgpl3/gmp/lib/libgmp/arch/powerpc/Makefile.inc
diff -u src/external/lgpl3/gmp/lib/libgmp/arch/powerpc/Makefile.inc:1.2 src/external/lgpl3/gmp/lib/libgmp/arch/powerpc/Makefile.inc:1.3
--- src/external/lgpl3/gmp/lib/libgmp/arch/powerpc/Makefile.inc:1.2	Sun Jul  3 06:43:16 2011
+++ src/external/lgpl3/gmp/lib/libgmp/arch/powerpc/Makefile.inc	Thu Jul  7 08:02:52 2011
@@ -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

Reply via email to