Remove workarounds for gcc2.95/sparc64 compiler bugs.

From: Aleksander Piotrowski <aleksander.piotrowski@nic.com.pl>
This commit is contained in:
naddy 2004-02-29 16:39:39 +00:00
parent f416853025
commit 8920bb773e
6 changed files with 5 additions and 50 deletions

View File

@ -1,12 +1,8 @@
# $OpenBSD: Makefile,v 1.5 2004/01/08 21:11:23 sturm Exp $
# $OpenBSD: Makefile,v 1.6 2004/02/29 16:39:39 naddy Exp $
VERSION= 2.1
PATCHLEVEL= .3
PKG_PATCHLEVEL= p2
.if ${MACHINE_ARCH} == "sparc64"
PATCH_LIST= patch-* gcc-*
.endif
.include <bsd.port.mk>

View File

@ -1,12 +0,0 @@
$OpenBSD: gcc-Makefile_pre_in,v 1.1 2003/12/30 17:05:30 sturm Exp $
--- Makefile.pre.in.orig Thu Jul 19 15:21:05 2001
+++ Makefile.pre.in Mon Sep 24 13:40:20 2001
@@ -408,6 +412,8 @@
Objects/unicodectype.o: $(srcdir)/Objects/unicodectype.c \
$(srcdir)/Objects/unicodetype_db.h
+Objects/longobject.o:
+ $(CC) -c $(PY_CFLAGS) -O0 -o $@ $<
############################################################################
# Header files

View File

@ -1,13 +1,11 @@
# $OpenBSD: Makefile,v 1.6 2004/01/08 21:11:23 sturm Exp $
# $OpenBSD: Makefile,v 1.7 2004/02/29 16:39:39 naddy Exp $
VERSION= 2.2
PATCHLEVEL= .3
PKG_PATCHLEVEL= p0
.if ${MACHINE_ARCH} == "alpha"
.if (${MACHINE_ARCH} == "alpha") || (${MACHINE_ARCH} == "sparc64")
PATCH_LIST= patch-* sup64-*
.elif ${MACHINE_ARCH} == "sparc64"
PATCH_LIST= patch-* sup64-* gcc-*
.endif
.include <bsd.port.mk>

View File

@ -1,13 +0,0 @@
$OpenBSD: gcc-Makefile_pre_in,v 1.1 2003/12/30 17:05:30 sturm Exp $
--- Makefile.pre.in.orig Wed Dec 19 04:24:40 2001
+++ Makefile.pre.in Fri Feb 8 22:24:40 2002
@@ -432,6 +432,9 @@
Objects/unicodectype.o: $(srcdir)/Objects/unicodectype.c \
$(srcdir)/Objects/unicodetype_db.h
+Objects/longobject.o:
+ $(CC) -c $(PY_CFLAGS) -O0 -o $@ $<
+
############################################################################
# Header files

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.2 2004/01/08 21:11:23 sturm Exp $
# $OpenBSD: Makefile,v 1.3 2004/02/29 16:39:39 naddy Exp $
VERSION= 2.3
PATCHLEVEL= .3
@ -17,10 +17,8 @@ LIB_DEPENDS= bz2::archivers/bzip2
FLAVORS= no_bsddb
.if ${MACHINE_ARCH} == "alpha"
.if (${MACHINE_ARCH} == "alpha") || (${MACHINE_ARCH} == "sparc64")
PATCH_LIST= patch-* sup64-*
.elif ${MACHINE_ARCH} == "sparc64"
PATCH_LIST= patch-* sup64-* gcc-*
.endif
.include <bsd.port.mk>

View File

@ -1,12 +0,0 @@
--- Makefile.pre.in.orig Fri Dec 19 11:28:51 2003
+++ Makefile.pre.in Fri Dec 19 11:29:39 2003
@@ -461,6 +461,9 @@
Objects/unicodectype.o: $(srcdir)/Objects/unicodectype.c \
$(srcdir)/Objects/unicodetype_db.h
+Objects/longobject.o:
+ $(CC) -c $(PY_CFLAGS) -O0 -o $@ $<
+
############################################################################
# Header files