summaryrefslogtreecommitdiff
path: root/share/cmake-3.17/Help/envvar/LDFLAGS.rst
diff options
context:
space:
mode:
Diffstat (limited to 'share/cmake-3.17/Help/envvar/LDFLAGS.rst')
-rw-r--r--share/cmake-3.17/Help/envvar/LDFLAGS.rst12
1 files changed, 12 insertions, 0 deletions
diff --git a/share/cmake-3.17/Help/envvar/LDFLAGS.rst b/share/cmake-3.17/Help/envvar/LDFLAGS.rst
new file mode 100644
index 0000000..816d6ef
--- /dev/null
+++ b/share/cmake-3.17/Help/envvar/LDFLAGS.rst
@@ -0,0 +1,12 @@
+LDFLAGS
+-------
+
+.. include:: ENV_VAR.txt
+
+Will only be used by CMake on the first configuration to determine the default
+linker flags, after which the value for ``LDFLAGS`` is stored in the cache
+as :variable:`CMAKE_EXE_LINKER_FLAGS_INIT`,
+:variable:`CMAKE_SHARED_LINKER_FLAGS_INIT`, and
+:variable:`CMAKE_MODULE_LINKER_FLAGS_INIT`. For any configuration run
+(including the first), the environment variable will be ignored if the
+equivalent ``CMAKE_<TYPE>_LINKER_FLAGS_INIT`` variable is defined.