Source-Changes-HG archive

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

[src/trunk]: src Document CPUFLAGS here (it's already documented in share/mk/...



details:   https://anonhg.NetBSD.org/src/rev/d3a8457c6fb9
branches:  trunk
changeset: 955822:d3a8457c6fb9
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Tue Oct 13 01:59:32 2020 +0000

description:
Document CPUFLAGS here (it's already documented in share/mk/bsd.README).
This will address the initial concern in PR port-alpha/55545.

diffstat:

 BUILDING          |  5 +++++
 doc/BUILDING.mdoc |  7 ++++++-
 2 files changed, 11 insertions(+), 1 deletions(-)

diffs (36 lines):

diff -r b534fefe42cc -r d3a8457c6fb9 BUILDING
--- a/BUILDING  Mon Oct 12 23:58:14 2020 +0000
+++ b/BUILDING  Tue Oct 13 01:59:32 2020 +0000
@@ -192,6 +192,11 @@
                  information is available in the GCC documentation of
                  -frandom-seed.
 
+     CPUFLAGS    Additional flags to the compiler/assembler to select CPU
+                 instruction set options, CPU tuning options, etc.
+
+                 Default: Unset.
+
      DESTDIR     Directory to contain the built NetBSD system.  If set,
                  special options are passed to the compilation tools to
                  prevent their default use of the host system's /usr/include,
diff -r b534fefe42cc -r d3a8457c6fb9 doc/BUILDING.mdoc
--- a/doc/BUILDING.mdoc Mon Oct 12 23:58:14 2020 +0000
+++ b/doc/BUILDING.mdoc Tue Oct 13 01:59:32 2020 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: BUILDING.mdoc,v 1.130 2020/10/12 21:14:37 uwe Exp $
+.\"    $NetBSD: BUILDING.mdoc,v 1.131 2020/10/13 01:59:32 thorpej Exp $
 .\"
 .\" Copyright (c) 2001-2011 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -405,6 +405,11 @@
 Additional information is available in the GCC
 documentation of -frandom-seed.
 .
+.It Sy CPUFLAGS
+Additional flags to the compiler/assembler to select
+CPU instruction set options, CPU tuning options, etc.
+.DFLTu
+.
 .It Sy DESTDIR
 Directory to contain the built
 .Nx



Home | Main Index | Thread Index | Old Index