diff options
author | Brad King <brad.king@kitware.com> | 2018-10-26 15:02:02 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2018-10-26 15:02:09 (GMT) |
commit | f7b8e674636b037f4b2a8e3398ea8251bfc752dc (patch) | |
tree | 2a2a77ad2c37aabd61ed937037a075f25c4fbb10 /Help/variable | |
parent | 8a539e7c2fefceefc53006e6be991c107e378a0c (diff) | |
parent | 2f9c2539614c744092cd46149787440639ce9579 (diff) | |
download | CMake-f7b8e674636b037f4b2a8e3398ea8251bfc752dc.zip CMake-f7b8e674636b037f4b2a8e3398ea8251bfc752dc.tar.gz CMake-f7b8e674636b037f4b2a8e3398ea8251bfc752dc.tar.bz2 |
Merge topic 'doc-updates'
2f9c253961 Help: clarify "LINKER:" prefix usage
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2530
Diffstat (limited to 'Help/variable')
-rw-r--r-- | Help/variable/CMAKE_LANG_LINKER_WRAPPER_FLAG.rst | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Help/variable/CMAKE_LANG_LINKER_WRAPPER_FLAG.rst b/Help/variable/CMAKE_LANG_LINKER_WRAPPER_FLAG.rst index 0e52282..321f97e 100644 --- a/Help/variable/CMAKE_LANG_LINKER_WRAPPER_FLAG.rst +++ b/Help/variable/CMAKE_LANG_LINKER_WRAPPER_FLAG.rst @@ -17,7 +17,7 @@ For example, for ``Clang`` we have: set (CMAKE_C_LINKER_WRAPPER_FLAG "-Xlinker" " ") -Specifying ``"LINKER:-z defs"`` will be transformed in +Specifying ``"LINKER:-z,defs"`` will be transformed in ``-Xlinker -z -Xlinker defs``. For ``GNU GCC``: @@ -27,7 +27,7 @@ For ``GNU GCC``: set (CMAKE_C_LINKER_WRAPPER_FLAG "-Wl,") set (CMAKE_C_LINKER_WRAPPER_FLAG_SEP ",") -Specifying ``"LINKER:-z defs"`` will be transformed in ``-Wl,-z,defs``. +Specifying ``"LINKER:-z,defs"`` will be transformed in ``-Wl,-z,defs``. And for ``SunPro``: @@ -36,4 +36,4 @@ And for ``SunPro``: set (CMAKE_C_LINKER_WRAPPER_FLAG "-Qoption" "ld" " ") set (CMAKE_C_LINKER_WRAPPER_FLAG_SEP ",") -Specifying ``"LINKER:-z defs"`` will be transformed in ``-Qoption ld -z,defs``. +Specifying ``"LINKER:-z,defs"`` will be transformed in ``-Qoption ld -z,defs``. |