diff options
author | Brad King <brad.king@kitware.com> | 2019-07-12 13:08:28 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2019-07-15 17:26:56 (GMT) |
commit | a5bf4e7921e5ac1abbe8fd71a597a8b37e6f08d2 (patch) | |
tree | 5814ce961d445404ed3997502651e2bfc050f309 /Tests/COnly/libc1.c | |
parent | 9cb5f040d7bd2a73d6510f2de38ddf03e4e7498a (diff) | |
download | CMake-a5bf4e7921e5ac1abbe8fd71a597a8b37e6f08d2.zip CMake-a5bf4e7921e5ac1abbe8fd71a597a8b37e6f08d2.tar.gz CMake-a5bf4e7921e5ac1abbe8fd71a597a8b37e6f08d2.tar.bz2 |
AIX: Drop redundant -brtl flags
We removed `-brtl` in commit bce7a2a3a5 (AIX: Do not use -brtl to create
shared libraries, 2013-03-11, v2.8.11~103^2~1) but it was added again by
commit f254276fc1 (AIX,HP-UX: Fix RPATH handling when CMP0065 is set to
NEW, 2015-12-11, v3.4.2~4^2). Since the latter commit we initialize the
`CMAKE_{SHARED,MODULE}_LINKER_FLAGS` to use the `-brtl` linker flag.
This is unnecessary because we already use the `-G` linker flag which
implies `-brtl`.
The latter commit also moved `-brtl` to `CMAKE_EXE_LINKER_FLAGS` from
flags that were always included in executable link lines with CMP0065
OLD behavior and are not part of the change intended by CMP0065. Leave
this for now as we've always enabled runtime linking for executables
(and implicitly done so via -G for shared libraries and modules).
Issue: #13997
Issue: #19163
Diffstat (limited to 'Tests/COnly/libc1.c')
0 files changed, 0 insertions, 0 deletions