XXX workaround a gcc optimization bug on sparc64
This commit is contained in:
parent
fc6cd7c49f
commit
1753d38840
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.8 2002/02/22 03:14:33 brad Exp $
|
||||
# $OpenBSD: Makefile,v 1.9 2002/03/07 19:32:13 lebel Exp $
|
||||
|
||||
COMMENT= "small, easy to set up, fast and very secure FTP server"
|
||||
|
||||
@ -19,6 +19,11 @@ PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
|
||||
# XXX workaround sparc64 gcc optimization bug
|
||||
.if ${MACHINE_ARCH:Msparc64}
|
||||
PATCH_LIST= gcc-* patch-*
|
||||
.endif
|
||||
|
||||
SEPARATE_BUILD= concurrent
|
||||
CONFIGURE_STYLE= gnu
|
||||
CONFIGURE_ARGS+= --with-everything \
|
||||
|
11
net/pure-ftpd/patches/gcc-src_Makefile_in
Normal file
11
net/pure-ftpd/patches/gcc-src_Makefile_in
Normal file
@ -0,0 +1,11 @@
|
||||
--- src/Makefile.in.orig Fri Feb 15 16:17:31 2002
|
||||
+++ src/Makefile.in Thu Mar 7 07:42:24 2002
|
||||
@@ -937,7 +937,7 @@
|
||||
@AMDEP_TRUE@ source='crypto-sha1.c' object='pure_ftpd-crypto-sha1.o' libtool=no @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@ depfile='$(DEPDIR)/pure_ftpd-crypto-sha1.Po' tmpdepfile='$(DEPDIR)/pure_ftpd-crypto-sha1.TPo' @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||
- $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(pure_ftpd_CFLAGS) $(CFLAGS) -c -o pure_ftpd-crypto-sha1.o `test -f crypto-sha1.c || echo '$(srcdir)/'`crypto-sha1.c
|
||||
+ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(pure_ftpd_CFLAGS) $(CFLAGS) -O0 -c -o pure_ftpd-crypto-sha1.o `test -f crypto-sha1.c || echo '$(srcdir)/'`crypto-sha1.c
|
||||
|
||||
pure_ftpd-crypto-sha1.obj: crypto-sha1.c
|
||||
@AMDEP_TRUE@ source='crypto-sha1.c' object='pure_ftpd-crypto-sha1.obj' libtool=no @AMDEPBACKSLASH@
|
Loading…
Reference in New Issue
Block a user