mirror of
https://github.com/Kitware/CMake.git
synced 2026-07-14 03:20:40 +00:00
Fix PositionIndependentTargets test with clang trunk.
The __PIE__ define might be set instead of __PIC__ if fPIE is used. http://llvm.org/bugs/show_bug.cgi?id=13221
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
|
||||
#if defined(__ELF__)
|
||||
# if !defined(__PIC__)
|
||||
# error "The POSITION_INDEPENDENT_CODE property should cause __PIC__ to be defined on ELF platforms."
|
||||
# if !defined(__PIC__) && !defined(__PIE__)
|
||||
# error "The POSITION_INDEPENDENT_CODE property should cause __PIC__ or __PIE__ to be defined on ELF platforms."
|
||||
# endif
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user