diff options
author | Tin Huynh <ahuynh@nvidia.com> | 2020-07-16 23:06:33 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2020-07-22 11:26:01 (GMT) |
commit | 52eee1938919deb59cc2b51d44f365f0d9a418e5 (patch) | |
tree | 9582b616acdad14bc48592cb6a4765f3e8688670 /Help/prop_tgt/INTERFACE_LINK_DEPENDS.rst | |
parent | c7b7547d8da6b9a4225d111440d0cf6c2f55914d (diff) | |
download | CMake-52eee1938919deb59cc2b51d44f365f0d9a418e5.zip CMake-52eee1938919deb59cc2b51d44f365f0d9a418e5.tar.gz CMake-52eee1938919deb59cc2b51d44f365f0d9a418e5.tar.bz2 |
PGI: Remove -A from the C++ flags we use when CXX_EXTENSIONS is OFF
Since commit 9b97cb5562 (PGI: Add language standards for PGI,
2017-05-01, v3.9.0-rc1~174^2), we have passed the `-A` flag to
the PGI C++ compiler when specifying a C++ standard flag with
compiler extensions turned off. The flag is not meant for that.
The PGI C++ standard flags do not turn extensions on by default
and have a separate `--gnu_extensions` flag for that which we
already use when CXX_EXTENSIONS is ON. Simply drop the `-A` flag.
Fixes: #20997
Diffstat (limited to 'Help/prop_tgt/INTERFACE_LINK_DEPENDS.rst')
0 files changed, 0 insertions, 0 deletions