Do not build dlltool on OpenBSD powerpc platforms, powerpc*-*-*pe* matches

powerpc--openbsd unfortunately. ok fgsch@
This commit is contained in:
drahn 2002-05-06 22:57:48 +00:00
parent 6b1cb4d730
commit a5eba736b1
2 changed files with 14 additions and 1 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.3 2002/04/22 08:32:22 fgsch Exp $
# $OpenBSD: Makefile,v 1.4 2002/05/06 22:57:48 drahn Exp $
COMMENT= "GNU development tools"
@ -43,6 +43,7 @@ FILES= ar nm-new objdump ranlib size strings strip-new
post-patch:
@cd ${WRKSRC}/bfd && autoconf
@cd ${WRKSRC}/binutils && autoconf
@-cd ${WRKSRC}/gas && { automake; autoconf; }
@cd ${WRKSRC}/ld && automake

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-binutils_configure_in,v 1.1 2002/05/06 22:57:48 drahn Exp $
--- binutils/configure.in.orig Mon May 6 17:33:12 2002
+++ binutils/configure.in Mon May 6 17:33:04 2002
@@ -260,6 +260,8 @@ changequote([,])dnl
BUILD_DLLTOOL='$(DLLTOOL_PROG)'
DLLTOOL_DEFS="$DLLTOOL_DEFS -DDLLTOOL_I386"
;;
+ powerpc*-*-openbsd*)
+ ;;
powerpc*-*-*pe* | powerpc*-*-cygwin*)
BUILD_DLLTOOL='$(DLLTOOL_PROG)$(EXEEXT)'
DLLTOOL_DEFS="$DLLTOOL_DEFS -DDLLTOOL_PPC"