From 62e81b8d485586a0f58c1ac526478fd34827347e Mon Sep 17 00:00:00 2001 From: "David E. O'Brien" Date: Thu, 13 Jan 2005 21:19:50 +0000 Subject: Fix one bug about bootstraping on FreeBSD/amd64. --- lang/gcc31/Makefile | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lang/gcc31') diff --git a/lang/gcc31/Makefile b/lang/gcc31/Makefile index 642a99fdc15d..336778f69fd1 100644 --- a/lang/gcc31/Makefile +++ b/lang/gcc31/Makefile @@ -33,6 +33,7 @@ NO_CDROM= 'dated material' LATEST_LINK= gcc31 USE_BZIP2= yes +USE_REINPLACE= yes PATCH_WRKSRC= ${SRCDIR} CONFIGURE_SCRIPT= ../${SRCDIR:C/${WRKDIR}//}/configure @@ -93,6 +94,8 @@ pre-configure: @${TOUCH} ${SRCDIR}/gcc/cstamp-h.in @${MKDIR} ${CONFIGURE_WRKSRC} @${RM} -f ${SRCDIR}/gcc/*/*.info* + @${REINPLACE_CMD} -e 's/elf_x86_64/elf_x86_64_fbsd/g' \ + ${SRCDIR}/gcc/config/i386/freebsd64.h pre-build: cd ${SRCDIR} ; contrib/gcc_update --touch -- cgit v1.2.3