Skip to content

Commit f6bfbb2

Browse files
HollowMan6magicus
authored andcommitted
8257208: Fix typo in doc/building.md
Reviewed-by: ihse
1 parent b4cba15 commit f6bfbb2

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

doc/building.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -400,7 +400,7 @@ <h4 id="configure-arguments-for-tailoring-the-build">Configure Arguments for Tai
400400
<li><code>--enable-jvm-feature-&lt;feature&gt;</code> or <code>--disable-jvm-feature-&lt;feature&gt;</code> - Include (or exclude) <code>&lt;feature&gt;</code> as a JVM feature in Hotspot. You can also specify a list of features to be enabled, separated by space or comma, as <code>--with-jvm-features=&lt;feature&gt;[,&lt;feature&gt;...]</code>. If you prefix <code>&lt;feature&gt;</code> with a <code>-</code>, it will be disabled. These options will modify the default list of features for the JVM variant(s) you are building. For the <code>custom</code> JVM variant, the default list is empty. A complete list of valid JVM features can be found using <code>bash configure --help</code>.</li>
401401
<li><code>--with-target-bits=&lt;bits&gt;</code> - Create a target binary suitable for running on a <code>&lt;bits&gt;</code> platform. Use this to create 32-bit output on a 64-bit build platform, instead of doing a full cross-compile. (This is known as a <em>reduced</em> build.)</li>
402402
</ul>
403-
<p>On Linux, BSD and AIX, it is possible to override where Java by default searches for runtime/JNI libraries. This can be useful in situations where there is a special shared directory for system JNI libraries. This setting can in turn be overriden at runtime by setting the <code>java.library.path</code> property.</p>
403+
<p>On Linux, BSD and AIX, it is possible to override where Java by default searches for runtime/JNI libraries. This can be useful in situations where there is a special shared directory for system JNI libraries. This setting can in turn be overridden at runtime by setting the <code>java.library.path</code> property.</p>
404404
<ul>
405405
<li><code>--with-jni-libpath=&lt;path&gt;</code> - Use the specified path as a default when searching for runtime libraries.</li>
406406
</ul>
@@ -439,7 +439,7 @@ <h4 id="configure-arguments-for-external-dependencies">Configure Arguments for E
439439
<h3 id="configure-control-variables">Configure Control Variables</h3>
440440
<p>It is possible to control certain aspects of <code>configure</code> by overriding the value of <code>configure</code> variables, either on the command line or in the environment.</p>
441441
<p>Normally, this is <strong>not recommended</strong>. If used improperly, it can lead to a broken configuration. Unless you're well versed in the build system, this is hard to use properly. Therefore, <code>configure</code> will print a warning if this is detected.</p>
442-
<p>However, there are a few <code>configure</code> variables, known as <em>control variables</em> that are supposed to be overriden on the command line. These are variables that describe the location of tools needed by the build, like <code>MAKE</code> or <code>GREP</code>. If any such variable is specified, <code>configure</code> will use that value instead of trying to autodetect the tool. For instance, <code>bash configure MAKE=/opt/gnumake4.0/bin/make</code>.</p>
442+
<p>However, there are a few <code>configure</code> variables, known as <em>control variables</em> that are supposed to be overridden on the command line. These are variables that describe the location of tools needed by the build, like <code>MAKE</code> or <code>GREP</code>. If any such variable is specified, <code>configure</code> will use that value instead of trying to autodetect the tool. For instance, <code>bash configure MAKE=/opt/gnumake4.0/bin/make</code>.</p>
443443
<p>If a configure argument exists, use that instead, e.g. use <code>--with-jtreg</code> instead of setting <code>JTREGEXE</code>.</p>
444444
<p>Also note that, despite what autoconf claims, setting <code>CFLAGS</code> will not accomplish anything. Instead use <code>--with-extra-cflags</code> (and similar for <code>cxxflags</code> and <code>ldflags</code>).</p>
445445
<h2 id="running-make">Running Make</h2>
@@ -476,7 +476,7 @@ <h3 id="common-make-targets">Common Make Targets</h3>
476476
<h3 id="make-control-variables">Make Control Variables</h3>
477477
<p>It is possible to control <code>make</code> behavior by overriding the value of <code>make</code> variables, either on the command line or in the environment.</p>
478478
<p>Normally, this is <strong>not recommended</strong>. If used improperly, it can lead to a broken build. Unless you're well versed in the build system, this is hard to use properly. Therefore, <code>make</code> will print a warning if this is detected.</p>
479-
<p>However, there are a few <code>make</code> variables, known as <em>control variables</em> that are supposed to be overriden on the command line. These make up the &quot;make time&quot; configuration, as opposed to the &quot;configure time&quot; configuration.</p>
479+
<p>However, there are a few <code>make</code> variables, known as <em>control variables</em> that are supposed to be overridden on the command line. These make up the &quot;make time&quot; configuration, as opposed to the &quot;configure time&quot; configuration.</p>
480480
<h4 id="general-make-control-variables">General Make Control Variables</h4>
481481
<ul>
482482
<li><code>JOBS</code> - Specify the number of jobs to build with. See <a href="#build-performance">Build Performance</a>.</li>

doc/building.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -653,7 +653,7 @@ features, use `bash configure --help=short` instead.)
653653
On Linux, BSD and AIX, it is possible to override where Java by default
654654
searches for runtime/JNI libraries. This can be useful in situations where
655655
there is a special shared directory for system JNI libraries. This setting
656-
can in turn be overriden at runtime by setting the `java.library.path` property.
656+
can in turn be overridden at runtime by setting the `java.library.path` property.
657657
658658
* `--with-jni-libpath=<path>` - Use the specified path as a default
659659
when searching for runtime libraries.
@@ -719,7 +719,7 @@ hard to use properly. Therefore, `configure` will print a warning if this is
719719
detected.
720720
721721
However, there are a few `configure` variables, known as *control variables*
722-
that are supposed to be overriden on the command line. These are variables that
722+
that are supposed to be overridden on the command line. These are variables that
723723
describe the location of tools needed by the build, like `MAKE` or `GREP`. If
724724
any such variable is specified, `configure` will use that value instead of
725725
trying to autodetect the tool. For instance, `bash configure
@@ -799,7 +799,7 @@ broken build. Unless you're well versed in the build system, this is hard to
799799
use properly. Therefore, `make` will print a warning if this is detected.
800800
801801
However, there are a few `make` variables, known as *control variables* that
802-
are supposed to be overriden on the command line. These make up the "make time"
802+
are supposed to be overridden on the command line. These make up the "make time"
803803
configuration, as opposed to the "configure time" configuration.
804804
805805
#### General Make Control Variables

0 commit comments

Comments
 (0)