build a file with -O0 on sparc64 (this only fixes the build, the program
itself is probably broken, as there are *lots* of 64bit issues)
This commit is contained in:
parent
526f8daee9
commit
2841e52f26
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2003/10/25 18:33:27 pvalchev Exp $
|
||||
# $OpenBSD: Makefile,v 1.2 2003/11/21 14:50:41 sturm Exp $
|
||||
|
||||
COMMENT= "electronic CAD system"
|
||||
|
||||
@ -22,6 +22,10 @@ PERMIT_DISTFILES_FTP= Yes
|
||||
MASTER_SITES= http://www.cs.berkeley.edu/~lazzaro/chipmunk/pickup/sources/
|
||||
DIST_SUBDIR= chipmunk
|
||||
|
||||
.if ${MACHINE_ARCH} == "sparc64"
|
||||
PATCH_LIST= patch-* gcc-*
|
||||
.endif
|
||||
|
||||
WRKDIST= ${WRKDIR}
|
||||
ALL_TARGET= makeonly
|
||||
LDIR= ${LOCALBASE}/share/chipmunk/
|
||||
|
13
cad/chipmunk/patches/gcc-psys_src_Makefile
Normal file
13
cad/chipmunk/patches/gcc-psys_src_Makefile
Normal file
@ -0,0 +1,13 @@
|
||||
$OpenBSD: gcc-psys_src_Makefile,v 1.1 2003/11/21 14:50:41 sturm Exp $
|
||||
--- psys/src/Makefile.orig 2003-03-12 15:47:36.000000000 -0700
|
||||
+++ psys/src/Makefile 2003-11-21 05:53:03.000000000 -0700
|
||||
@@ -190,6 +190,9 @@ libp2c.a: $(OBJS)
|
||||
p2clib.o: p2clib.c
|
||||
$(CC) -c $(CFLAGS) $(P2CFLAGS) p2clib.c
|
||||
|
||||
+newasmlib.o:
|
||||
+ ${CC} ${CFLAGS} -O0 -c newasmlib.c
|
||||
+
|
||||
clean:
|
||||
-rm -f *.o libp2c.a ../libp2c.a
|
||||
|
Loading…
Reference in New Issue
Block a user