Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/share/mk Remove bogus conditionals that were also copied to ...
details: https://anonhg.NetBSD.org/src/rev/dac8c937559b
branches: trunk
changeset: 784070:dac8c937559b
user: christos <christos%NetBSD.org@localhost>
date: Thu Jan 17 15:27:50 2013 +0000
description:
Remove bogus conditionals that were also copied to other files presumably
because they did not work from here, and explain why.
diffstat:
share/mk/sys.mk | 14 +++++---------
1 files changed, 5 insertions(+), 9 deletions(-)
diffs (31 lines):
diff -r 858783b9b370 -r dac8c937559b share/mk/sys.mk
--- a/share/mk/sys.mk Thu Jan 17 14:36:36 2013 +0000
+++ b/share/mk/sys.mk Thu Jan 17 15:27:50 2013 +0000
@@ -1,5 +1,9 @@
-# $NetBSD: sys.mk,v 1.110 2012/10/06 20:54:58 christos Exp $
+# $NetBSD: sys.mk,v 1.111 2013/01/17 15:27:50 christos Exp $
# @(#)sys.mk 8.2 (Berkeley) 3/21/94
+#
+# This file contains the basic rules for make(1) and is read first
+# Do not put conditionals that are set on different files here and
+# expect them to work.
unix?= We run NetBSD.
@@ -41,16 +45,8 @@
CTFFLAGS ?= -L VERSION
CTFMFLAGS ?= -t -L VERSION
-.if defined(MKDTRACE) && ${MKDTRACE} != "no"
CTFCONVERT ?= ${TOOL_CTFCONVERT}
CTFMERGE ?= ${TOOL_CTFMERGE}
-.if defined(CFLAGS) && (${CFLAGS:M-g} != "")
-CTFFLAGS += -g
-CTFMFLAGS += -g
-.else
-CFLAGS += -g
-.endif
-.endif
CXX?= c++
CXXFLAGS?= ${CFLAGS:N-Wno-traditional:N-Wstrict-prototypes:N-Wmissing-prototypes:N-Wno-pointer-sign:N-ffreestanding:N-std=gnu99:N-Wold-style-definition:N-Wno-format-zero-length}
Home |
Main Index |
Thread Index |
Old Index