diff options
author | fredb <fredb@pkgsrc.org> | 1999-10-27 10:46:55 +0000 |
---|---|---|
committer | fredb <fredb@pkgsrc.org> | 1999-10-27 10:46:55 +0000 |
commit | 891890e4ab8f898b27213eb6e9c892e25170335d (patch) | |
tree | e96004190cec61e92b8dcafde849fcca63bad220 /cross | |
parent | 000fed09eeb6f02a7505b8186175fec18f24b4ec (diff) | |
download | pkgsrc-891890e4ab8f898b27213eb6e9c892e25170335d.tar.gz |
Provide --with-gxx-include-dir explicitly, to match expectations
in PLIST-egcs-cxx-runtime. Fixing the PLIST, instead, would cause
the installed files to collide with the other cross compilers.
Diffstat (limited to 'cross')
-rw-r--r-- | cross/COMMON/cross.mk | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/cross/COMMON/cross.mk b/cross/COMMON/cross.mk index 31000d5637d..958aabe8e27 100644 --- a/cross/COMMON/cross.mk +++ b/cross/COMMON/cross.mk @@ -1,4 +1,4 @@ -# $NetBSD: cross.mk,v 1.12 1999/07/16 00:50:04 wrstuden Exp $ +# $NetBSD: cross.mk,v 1.13 1999/10/27 10:46:55 fredb Exp $ # Shared definitions for building a cross-compile environment. @@ -106,6 +106,7 @@ EGCS_NO_OBJC_RUNTIME= yes .endif .if !defined(EGCS_NO_CXX) +CXX_CONFIGURE_ARGS+= --with-gxx-include-dir=${TARGET_DIR}/include/g++ EGCS_LANGUAGES+= c++ PLIST_PRE+= ${COMMON_DIR}/PLIST-egcs-cxx .if !defined(EGCS_NO_CXX_RUNTIME) @@ -183,7 +184,8 @@ egcs-configure: INSTALL="${INSTALL} -c -o ${BINOWN} -g ${BINGRP}" \ INSTALL_PROGRAM="${INSTALL_PROGRAM}" \ ./configure --prefix=${PREFIX} \ - --host=${MACHINE_GNU_ARCH}--netbsd --target=${TARGET_ARCH} + --host=${MACHINE_GNU_ARCH}--netbsd --target=${TARGET_ARCH} \ + ${CXX_CONFIGURE_ARGS} .if defined(EGCS_FAKE_RUNTIME) @${MKDIR} ${SYS_INCLUDE} ${SYS_INCLUDE}/machine ${SYS_INCLUDE}/sys @cd ${SYS_INCLUDE} && ${TOUCH} ${TOUCH_FLAGS} machine/ansi.h \ |