diff options
author | David E. O'Brien <obrien@FreeBSD.org> | 1999-03-22 01:35:36 +0000 |
---|---|---|
committer | David E. O'Brien <obrien@FreeBSD.org> | 1999-03-22 01:35:36 +0000 |
commit | 7b9d7e0720a3e1fc46bb1c669eadfb2d2856851f (patch) | |
tree | afbf5c3c8c1a7f489f81b6f5dab260c2700c7278 /lang/gcc41/Makefile | |
parent | df38b0230afe76e4a8aaaab4fec41bb4185d6c58 (diff) |
* Add support for ``-pthead''
* Add Alpha support
Obtained from: Alpha bits taken from Hidetoshi Shimokawa's
<simokawa@FreeBSD.ORG> work
Notes
Notes:
svn path=/head/; revision=17335
Diffstat (limited to 'lang/gcc41/Makefile')
-rw-r--r-- | lang/gcc41/Makefile | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/lang/gcc41/Makefile b/lang/gcc41/Makefile index f9347a47d87e..cd5b039f398a 100644 --- a/lang/gcc41/Makefile +++ b/lang/gcc41/Makefile @@ -4,7 +4,7 @@ # Date created: 9 Jan 1998 # Whom: John Polstra <jdp@polstra.com> # -# $Id: Makefile,v 1.48 1999/03/08 07:28:27 asami Exp $ +# $Id: Makefile,v 1.50 1999/03/17 00:40:25 obrien Exp $ # DISTNAME= egcs-1.1.2 @@ -55,21 +55,20 @@ ALL_TARGET= bootstrap MAN1= cccp.1 g++.1 g77.1 gcc.1 pre-patch: + @${MV} ${WRKSRC}/gcc/config/i386/t-freebsd ${WRKSRC}/gcc/config/ @${MV} ${WRKSRC}/gcc/config/i386/freebsd.h ${WRKSRC}/gcc/config/i386/freebsd-aout.h @${MV} ${WRKSRC}/gcc/config/i386/freebsd-elf.h ${WRKSRC}/gcc/config/i386/freebsd.h + @${CP} ${FILESDIR}/alpha-freebsd-elf.h ${WRKSRC}/gcc/config/alpha/freebsd-elf.h + @${CP} ${FILESDIR}/alpha-freebsd.h ${WRKSRC}/gcc/config/alpha/freebsd.h pre-configure: @# Keep from running `autoconf' and `autoheader' since we modified @# configure.in by patching it. @touch ${WRKSRC}/gcc/configure @touch ${WRKSRC}/gcc/cstamp-h.in - @(cd ${WRKSRC}/gcc/config/${ARCH}/ ; \ - MAJ=`sysctl -n kern.osreldate | ${SED} -e '/.....$$/s///'` ; \ - ${MV} freebsd-aout.h freebsd-aout.h.in ; \ - ${SED} -e "s:__FreeBSD__:__FreeBSD__=$${MAJ}:" freebsd-aout.h.in \ - >freebsd-aout.h ; \ - ${MV} freebsd.h freebsd.h.in ; \ - ${SED} -e "s:__FreeBSD__:__FreeBSD__=$${MAJ}:" freebsd.h.in >freebsd.h ) + @(MAJ=`sysctl -n kern.osreldate | ${SED} -e '/.....$$/s///'` ; \ + ${SED} -e "s:__FreeBSD__:__FreeBSD__=$${MAJ}:" ${FILESDIR}/freebsd.h \ + >${WRKSRC}/gcc/config/freebsd.h ) .if ${PORTOBJFORMAT} == "elf" && ${MACHINE_ARCH} == "i386" @${SED} -e 's/^@comment ELF-only://' ${PKGDIR}/PLIST >${PLIST} .endif |