Module Name: src
Committed By: thorpej
Date: Tue Oct 13 01:59:32 UTC 2020
Modified Files:
src: BUILDING
src/doc: BUILDING.mdoc
Log Message:
Document CPUFLAGS here (it's already documented in share/mk/bsd.README).
This will address the initial concern in PR port-alpha/55545.
To generate a diff of this commit:
cvs rdiff -u -r1.137 -r1.138 src/BUILDING
cvs rdiff -u -r1.130 -r1.131 src/doc/BUILDING.mdoc
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/BUILDING
diff -u src/BUILDING:1.137 src/BUILDING:1.138
--- src/BUILDING:1.137 Mon Oct 12 21:14:36 2020
+++ src/BUILDING Tue Oct 13 01:59:32 2020
@@ -192,6 +192,11 @@ CONFIGURATION
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,
Index: src/doc/BUILDING.mdoc
diff -u src/doc/BUILDING.mdoc:1.130 src/doc/BUILDING.mdoc:1.131
--- src/doc/BUILDING.mdoc:1.130 Mon Oct 12 21:14:37 2020
+++ src/doc/BUILDING.mdoc Tue Oct 13 01:59:32 2020
@@ -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 @@ built from the same sources, resulting i
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