diff options
author | Björn Gustavsson <[email protected]> | 2016-06-08 11:55:06 +0200 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2016-06-08 11:55:06 +0200 |
commit | e7588998f05f92f1056e4259452f8a8363d732b5 (patch) | |
tree | 727f60cd8871f46f61fa7e90c844ddb4603eda60 /lib/compiler/doc/src | |
parent | 55e96edb7bbb849fafaf628119fc2db9dea22e1e (diff) | |
parent | d567a443e1b3506fdef7d1f57af8d4cd364d45b4 (diff) | |
download | otp-e7588998f05f92f1056e4259452f8a8363d732b5.tar.gz otp-e7588998f05f92f1056e4259452f8a8363d732b5.tar.bz2 otp-e7588998f05f92f1056e4259452f8a8363d732b5.zip |
Merge branch 'talentdeficit/compiler/env_compiler_options/PR-1091/OTP-13654'
* talentdeficit/compiler/env_compiler_options/PR-1091/OTP-13654:
compile.xml: Eliminate unsightly space before period
Compiler: new function env_compiler_options/0
Diffstat (limited to 'lib/compiler/doc/src')
-rw-r--r-- | lib/compiler/doc/src/compile.xml | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/lib/compiler/doc/src/compile.xml b/lib/compiler/doc/src/compile.xml index 954750fcdd..61e214294e 100644 --- a/lib/compiler/doc/src/compile.xml +++ b/lib/compiler/doc/src/compile.xml @@ -40,6 +40,19 @@ <funcs> <func> + <name>env_compiler_options()</name> + <fsummary> + Compiler options defined via the environment variable + <c>ERL_COMPILER_OPTIONS</c> + </fsummary> + <desc> + <p>Return compiler options given via the environment variable + <c>ERL_COMPILER_OPTIONS</c>. If the value is a list, it is + returned as is. If it is not a list, it is put into a list. + </p> + </desc> + </func> + <func> <name>file(File)</name> <fsummary>Compiles a file.</fsummary> <desc> @@ -768,6 +781,9 @@ module.beam: module.erl \ if you do not want the environment variable to be consulted, for example, if you are calling the compiler recursively from inside a parse transform.</p> + + <p>The list can be retrieved with + <seealso marker="#env_compiler_options/0">env_compiler_options/0</seealso>.</p> </section> <section> |