Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 31 May 2002 13:29:24 -0700 (PDT)
From:      Marcel Moolenaar <marcel@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 12221 for review
Message-ID:  <200205312029.g4VKTOZ88153@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://people.freebsd.org/~peter/p4db/chv.cgi?CH=12221

Change 12221 by marcel@marcel_vaio on 2002/05/31 13:28:31

	Make libstdc++ buildable on ia64:
	o  IFC (1.32)
	o  Add CFLAGS+=-I${GCCDIR}/config/${MACHINE_ARCH} so that we can
	   find ia64intrin.h, which is included by atomicity.h.

Affected files ...

... //depot/projects/ia64/gnu/lib/libstdc++/Makefile#5 edit

Differences ...

==== //depot/projects/ia64/gnu/lib/libstdc++/Makefile#5 (text+ko) ====

@@ -1,4 +1,4 @@
-# $FreeBSD: src/gnu/lib/libstdc++/Makefile,v 1.30 2002/05/29 00:45:51 peter Exp $
+# $FreeBSD: src/gnu/lib/libstdc++/Makefile,v 1.32 2002/05/30 17:23:26 obrien Exp $
 
 GCCDIR=	${.CURDIR}/../../../contrib/gcc
 SRCDIR=	${.CURDIR}/../../../contrib/libstdc++
@@ -6,7 +6,7 @@
 
 .PATH: ${SRCDIR}/src ${SRCDIR}/libmath ${SRCDIR}/config/io \
        ${SRCDIR}/config/locale/generic ${SRCDIR} ${SRCDIR}/std \
-       ${SUPDIR}
+       ${SUPDIR} ${GCCDIR}
 
 SUBDIR=	doc
 
@@ -16,6 +16,7 @@
 
 CFLAGS+=	-DIN_GLIBCPP_V3 -DHAVE_CONFIG_H
 CFLAGS+=	-I${.CURDIR} -I${SUPDIR} -I${GCCDIR}
+CFLAGS+=	-I${GCCDIR}/config/${MACHINE_ARCH}
 CXXFLAGS+=	-fno-implicit-templates -ffunction-sections -fdata-sections -Wno-deprecated
 #LDFLAGS+=	-Wl,-version-info,4:0:0 -Wl,--version-script=${SRCDIR}/src/linker.map
 
@@ -42,7 +43,7 @@
 	pure.cc tinfo.cc tinfo2.cc vec.cc
 
 # from libiberty:
-SRCS+=	${GCCDIR}/cp-demangle.c ${GCCDIR}/dyn-string.c
+SRCS+=	cp-demangle.c dyn-string.c
 
 strstream-fixed.cc:	${SRCDIR}/src/strstream.cc
 	sed -e 's,^#include <strstream.h>,#include <backward/strstream.h>,g' \

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe p4-projects" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200205312029.g4VKTOZ88153>