Downgrade the compiler to gcc 3.2.3 configured

with --disable-shared.
Somehow pointyhat builds misunderstand
the location of libstdc++.so.5 for 6-STABLE.

Submitted by:	kris
This commit is contained in:
Maho Nakata 2006-10-09 20:54:55 +00:00
parent a7fbf533a9
commit ca90bbc294
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=175141
2 changed files with 12 additions and 14 deletions

View File

@ -107,16 +107,15 @@ PKGNAMEPREFIX= ${LANG_PKGNAME}-
PKGNAMESUFFIX?= -${LANG_SUFFIX}
.endif
BUILD_DEPENDS+= gcc33:${PORTSDIR}/lang/gcc33
RUN_DEPENDS+= gcc33:${PORTSDIR}/lang/gcc33
BUILD_DEPENDS+= gcc32:${PORTSDIR}/lang/gcc32
# FIXME (correctly add ccache before gcc and g++)
.if defined(WITH_CCACHE)
BUILD_DEPENDS+= ccache:${PORTSDIR}/devel/ccache
CC= ccache gcc33
CXX= ccache g++33
CC= ccache gcc32
CXX= ccache g++32
.else
CC= gcc33
CXX= g++33
CC= gcc32
CXX= g++32
.endif
BUILD_DEPENDS+= zip:${PORTSDIR}/archivers/zip \
unzip:${PORTSDIR}/archivers/unzip \
@ -135,7 +134,7 @@ TCSH?= /bin/tcsh
PKGMESSAGE= ${WRKDIR}/pkg-message
NUMOFPROCESSES?= 1
CONFIGURE_ARGS+= --with-gnu-cp=${LOCALBASE}/bin/gcp --enable-pasf --enable-crashdump --enable-symbols=SMALL
CONFIGURE_ARGS+= --with-gnu-cp=${LOCALBASE}/bin/gcp --enable-pasf #--enable-crashdump --enable-symbols=SMALL #gcc3.2.3 is broken with -g1
.include <${FILESDIR}/Makefile.knobs>

View File

@ -107,16 +107,15 @@ PKGNAMEPREFIX= ${LANG_PKGNAME}-
PKGNAMESUFFIX?= -${LANG_SUFFIX}
.endif
BUILD_DEPENDS+= gcc33:${PORTSDIR}/lang/gcc33
RUN_DEPENDS+= gcc33:${PORTSDIR}/lang/gcc33
BUILD_DEPENDS+= gcc32:${PORTSDIR}/lang/gcc32
# FIXME (correctly add ccache before gcc and g++)
.if defined(WITH_CCACHE)
BUILD_DEPENDS+= ccache:${PORTSDIR}/devel/ccache
CC= ccache gcc33
CXX= ccache g++33
CC= ccache gcc32
CXX= ccache g++32
.else
CC= gcc33
CXX= g++33
CC= gcc32
CXX= g++32
.endif
BUILD_DEPENDS+= zip:${PORTSDIR}/archivers/zip \
unzip:${PORTSDIR}/archivers/unzip \
@ -135,7 +134,7 @@ TCSH?= /bin/tcsh
PKGMESSAGE= ${WRKDIR}/pkg-message
NUMOFPROCESSES?= 1
CONFIGURE_ARGS+= --with-gnu-cp=${LOCALBASE}/bin/gcp --enable-pasf --enable-crashdump --enable-symbols=SMALL
CONFIGURE_ARGS+= --with-gnu-cp=${LOCALBASE}/bin/gcp --enable-pasf #--enable-crashdump --enable-symbols=SMALL #gcc3.2.3 is broken with -g1
.include <${FILESDIR}/Makefile.knobs>