Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/editors Extend gcc version range for -no-pie, since gc...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/26004c1aae4a
branches:  trunk
changeset: 437004:26004c1aae4a
user:      hauke <hauke%pkgsrc.org@localhost>
date:      Fri Aug 14 08:00:57 2020 +0000

description:
Extend gcc version range for -no-pie, since gcc 10 is here.

diffstat:

 editors/xemacs-current/hacks.mk |  4 ++--
 editors/xemacs/hacks.mk         |  4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diffs (36 lines):

diff -r accbab85a097 -r 26004c1aae4a editors/xemacs-current/hacks.mk
--- a/editors/xemacs-current/hacks.mk   Fri Aug 14 07:40:51 2020 +0000
+++ b/editors/xemacs-current/hacks.mk   Fri Aug 14 08:00:57 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: hacks.mk,v 1.4 2020/06/24 16:10:31 hauke Exp $
+# $NetBSD: hacks.mk,v 1.5 2020/08/14 08:00:57 hauke Exp $
 
 .if !defined(XEMACS_CURRENT_HACKS_MK)
 XEMACS_CURRENT_HACKS_MK=       defined
@@ -7,7 +7,7 @@
 
 ### Position-independent code does not rhyme well with dumped emacsen.
 ###
-.if !empty(CC_VERSION:Mgcc-[6789].*)
+.if !empty(CC_VERSION:Mgcc-[6789].*) || !empty(CC_VERSION:Mgcc-[1-9][0-9].*)
 PKG_HACKS+=            disable-gcc-pie
 CFLAGS+=               -no-pie
 .endif
diff -r accbab85a097 -r 26004c1aae4a editors/xemacs/hacks.mk
--- a/editors/xemacs/hacks.mk   Fri Aug 14 07:40:51 2020 +0000
+++ b/editors/xemacs/hacks.mk   Fri Aug 14 08:00:57 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: hacks.mk,v 1.8 2020/06/24 16:10:31 hauke Exp $
+# $NetBSD: hacks.mk,v 1.9 2020/08/14 08:00:57 hauke Exp $
 
 .if !defined(XEMACS_HACKS_MK)
 XEMACS_HACKS_MK=       defined
@@ -7,7 +7,7 @@
 
 ### Position-independent code does not rhyme well with dumped emacsen.
 ###
-.if !empty(CC_VERSION:Mgcc-[6789].*)
+.if !empty(CC_VERSION:Mgcc-[6789].*) || !empty(CC_VERSION:Mgcc-[1-9][0-9].*)
 PKG_HACKS+=            disable-gcc-pie
 CFLAGS+=               -no-pie
 .endif



Home | Main Index | Thread Index | Old Index