Source-Changes-HG archive

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

[src/netbsd-9]: src/share/mk Pull up following revision(s) (requested by maya...



details:   https://anonhg.NetBSD.org/src/rev/ad8298f58ff2
branches:  netbsd-9
changeset: 963595:ad8298f58ff2
user:      martin <martin%NetBSD.org@localhost>
date:      Mon Feb 10 19:07:22 2020 +0000

description:
Pull up following revision(s) (requested by maya in ticket #689):

        share/mk/sys.mk: revision 1.143

Don't special case aarch64 and add -fomit-frame-pointer to builds.

This behaviour is probably due to a past behaviour of clang, where it
always emitted frame pointer code.

This is no longer true for clang on netbsd, and I don't think it was true
for GCC.

Meanwhile, this flag bleeds into pkgsrc where it breaks random packages,
requiring workarounds like lang/ruby*-base/hacks.mk.

diffstat:

 share/mk/sys.mk |  4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diffs (18 lines):

diff -r 51efc66b7c74 -r ad8298f58ff2 share/mk/sys.mk
--- a/share/mk/sys.mk   Mon Feb 10 19:05:05 2020 +0000
+++ b/share/mk/sys.mk   Mon Feb 10 19:07:22 2020 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: sys.mk,v 1.139.2.1 2019/12/24 17:32:20 martin Exp $
+#      $NetBSD: sys.mk,v 1.139.2.2 2020/02/10 19:07:22 martin Exp $
 #      @(#)sys.mk      8.2 (Berkeley) 3/21/94
 #
 # This file contains the basic rules for make(1) and is read first
@@ -33,8 +33,6 @@
 DBG?=  -O2 -fno-reorder-blocks
 .elif ${MACHINE_ARCH} == "coldfire"
 DBG?=  -O1
-.elif !empty(MACHINE_ARCH:Maarch64*)
-DBG?=  -O2 ${"${.TARGET:M*.po}" == "":? -fomit-frame-pointer:}
 .else
 DBG?=  -O2
 .endif



Home | Main Index | Thread Index | Old Index