Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/share/mk Don't special case aarch64 and add -fomit-frame-poi...
details: https://anonhg.NetBSD.org/src/rev/0060ada5eda5
branches: trunk
changeset: 848769:0060ada5eda5
user: maya <maya%NetBSD.org@localhost>
date: Sat Feb 08 21:16:53 2020 +0000
description:
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 757417cb7e00 -r 0060ada5eda5 share/mk/sys.mk
--- a/share/mk/sys.mk Sat Feb 08 19:58:36 2020 +0000
+++ b/share/mk/sys.mk Sat Feb 08 21:16:53 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: sys.mk,v 1.142 2020/01/08 22:04:24 christos Exp $
+# $NetBSD: sys.mk,v 1.143 2020/02/08 21:16:53 maya 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