On i386, link without -Z. Not required with ld.bfd and not supported

by ld.lld.  ok jca@
This commit is contained in:
naddy
2018-11-10 15:02:23 +00:00
parent 143abcae2f
commit 0272dfee2a
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -1,10 +1,10 @@
# $OpenBSD: Makefile,v 1.79 2018/11/02 12:56:52 jca Exp $
# $OpenBSD: Makefile,v 1.80 2018/11/10 15:02:23 naddy Exp $
COMMENT= GNU editor: extensible, customizable, self-documenting
VERSION= 26.1
DISTNAME= emacs-${VERSION}
REVISION= 3
REVISION= 4
CATEGORIES= editors
+2 -2
View File
@@ -1,4 +1,4 @@
$OpenBSD: patch-configure,v 1.13 2018/06/08 22:19:20 jca Exp $
$OpenBSD: patch-configure,v 1.14 2018/11/10 15:02:23 naddy Exp $
Index: configure
--- configure.orig
+++ configure
@@ -9,7 +9,7 @@ Index: configure
- LD_SWITCH_SYSTEM="-Z"
+ ## Enable only where necessary.
+ case $host_cpu in
+ x86_64|sparc64|arm|aarch64)
+ x86_64|i386|sparc64|arm|aarch64)
+ ;;
+ powerpc|mips64el|*)
+ LD_SWITCH_SYSTEM="-Z"