diff options
author | Stephen Kelly <steveire@gmail.com> | 2014-05-14 21:56:53 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2014-05-15 17:38:25 (GMT) |
commit | f6f1095413772e5d52f6699ff7324180e30f5c35 (patch) | |
tree | e701e0335ccf905c906163c05a2e02e0d8ca0cbe /Tests/Module/WriteCompilerDetectionHeader/multi_files.cpp | |
parent | 5c04dfe465d85be3d11f37d16d6ebcafbdcb7d53 (diff) | |
download | CMake-f6f1095413772e5d52f6699ff7324180e30f5c35.zip CMake-f6f1095413772e5d52f6699ff7324180e30f5c35.tar.gz CMake-f6f1095413772e5d52f6699ff7324180e30f5c35.tar.bz2 |
Features: Use the features symbol in the feature-test compile.
Clang discards the entire string if it is not used, removing
the ability to read the features from the compiled binary. That
is prevented by using the symbol.
GNU with -O3 also discards the string, so use the string in a
way which is determined by a runtime value (argc) to prevent
it being discarded.
Diffstat (limited to 'Tests/Module/WriteCompilerDetectionHeader/multi_files.cpp')
0 files changed, 0 insertions, 0 deletions