only compile sha1.c with -O0 on sparc64, not the whole port.
This commit is contained in:
parent
228d85c016
commit
db3ee550f7
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.28 2002/03/06 23:48:23 lebel Exp $
|
||||
# $OpenBSD: Makefile,v 1.29 2002/03/23 22:05:48 lebel Exp $
|
||||
|
||||
COMMENT= Berkeley Internet Name Daemon
|
||||
|
||||
@ -25,7 +25,7 @@ PERMIT_DISTFILES_FTP= Yes
|
||||
|
||||
# XXX workaround gcc bugs on sparc64
|
||||
.if ${MACHINE_ARCH:Msparc64}
|
||||
CFLAGS+= -O0
|
||||
PATCH_LIST= gcc-* patch-*
|
||||
.endif
|
||||
|
||||
SEPARATE_BUILD= concurrent
|
||||
|
13
net/bind9/patches/gcc-lib_isc_Makefile_in
Normal file
13
net/bind9/patches/gcc-lib_isc_Makefile_in
Normal file
@ -0,0 +1,13 @@
|
||||
$OpenBSD: gcc-lib_isc_Makefile_in,v 1.1 2002/03/23 22:05:48 lebel Exp $
|
||||
--- lib/isc/Makefile.in.orig Sat Mar 23 15:48:01 2002
|
||||
+++ lib/isc/Makefile.in Sat Mar 23 15:49:46 2002
|
||||
@@ -78,6 +78,9 @@ LIBS = @LIBS@
|
||||
SUBDIRS = include unix nls @ISC_THREAD_DIR@
|
||||
TARGETS = timestamp
|
||||
|
||||
+sha1.lo: sha1.c
|
||||
+ ${LIBTOOL} ${CC} ${ALL_CFLAGS} -O0 -c $<
|
||||
+
|
||||
@BIND9_MAKE_RULES@
|
||||
|
||||
version.@O@: version.c
|
Loading…
Reference in New Issue
Block a user