MantisBT - CMake | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0013550 | CMake | CMake | public | 2012-09-19 13:57 | 2013-03-04 08:38 |
Reporter | Alexander | ||||
Assigned To | Brad King | ||||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | x86-64 | OS | Linux | OS Version | openSUSE 12.1 |
Product Version | CMake 2.8.9 | ||||
Target Version | CMake 2.8.10 | Fixed in Version | CMake 2.8.10 | ||
Summary | 0013550: CMAKE_C_COMPILE_OPTIONS_PIE not set for Clang | ||||
Description | I'm trying to use CMAKE_C_COMPILE_OPTIONS_PIE and CMAKE_CXX_COMPILE_OPTIONS_PIE variables, but they are not set when using Clang. I found this in /usr/share/cmake/Modules/Compiler/GNU.cmake : if(NOT CMAKE_${lang}_COMPILER_VERSION VERSION_LESS 3.4) set(CMAKE_${lang}_COMPILE_OPTIONS_PIE "-fPIE") endif() Clang is a GNU-compatible compiler (I have version 3.1), but it doesn't pass the check. Thanks | ||||
Steps To Reproduce | |||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2012-09-19 13:57 | Alexander | New Issue | |||
2012-09-19 14:04 | Brad King | Assigned To | => Brad King | ||
2012-09-19 14:04 | Brad King | Status | new => assigned | ||
2012-09-19 14:19 | Brad King | Note Added: 0031065 | |||
2012-09-19 14:19 | Brad King | Status | assigned => resolved | ||
2012-09-19 14:19 | Brad King | Resolution | open => fixed | ||
2012-09-19 14:19 | Brad King | Fixed in Version | => CMake 2.8.10 | ||
2012-09-19 14:19 | Brad King | Target Version | => CMake 2.8.10 | ||
2013-03-04 08:38 | Robert Maynard | Note Added: 0032453 | |||
2013-03-04 08:38 | Robert Maynard | Status | resolved => closed |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|