- workaround no longer needed for mips64
This commit is contained in:
parent
c5a58294c2
commit
a8eb81d4b9
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.51 2010/04/24 20:18:39 naddy Exp $
|
||||
# $OpenBSD: Makefile,v 1.52 2010/05/21 22:39:58 jasper Exp $
|
||||
# $FreeBSD: Makefile,v 1.10 1998/03/28 14:36:34 steve Exp $
|
||||
|
||||
COMMENT= X11/Motif GUI text editor
|
||||
@ -44,13 +44,6 @@ FLAVOR?=
|
||||
|
||||
CFLAGS+= -DBUILD_UNTESTED_NEDIT
|
||||
|
||||
# gcc 3.3.5 internal compiler error
|
||||
.if ${MACHINE_ARCH:Mmips64*}
|
||||
EXTRA_CFLAGS= -O0
|
||||
.endif
|
||||
|
||||
MAKE_FLAGS+= EXTRA_CFLAGS=${EXTRA_CFLAGS}
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKBUILD}/source/nedit ${PREFIX}/bin
|
||||
${INSTALL_PROGRAM} ${WRKBUILD}/source/nc ${PREFIX}/bin/ncl
|
||||
|
@ -1,16 +0,0 @@
|
||||
$OpenBSD: patch-util_Makefile_common,v 1.1 2009/11/08 16:24:34 jasper Exp $
|
||||
|
||||
Honor extra cflags (-O0) for mips64 to prevent an ICE.
|
||||
|
||||
--- util/Makefile.common.orig Sun Nov 8 09:09:25 2009
|
||||
+++ util/Makefile.common Sun Nov 8 09:15:33 2009
|
||||
@@ -15,6 +15,9 @@ libNUtil.a: $(OBJS)
|
||||
printUtils.o: printUtils.c
|
||||
$(CC) -c $(CFLAGS) $(PRINTFLAGS) printUtils.c
|
||||
|
||||
+fontsel.o: fontsel.c
|
||||
+ $(CC) -c $(CFLAGS) $(EXTRA_CFLAGS) fontsel.c
|
||||
+
|
||||
# This is for any platform where bogus OpenMotif or LessTif versions might
|
||||
# be found in the wild. The rule needs a different name from the executable
|
||||
# so that the rule continues to fire if the executable exists.
|
Loading…
Reference in New Issue
Block a user