Merge topic 'fix-pie-clang-trunk'
9235603
Fix PositionIndependentTargets test with clang trunk.
This commit is contained in:
commit
7b28331f96
|
@ -1,7 +1,7 @@
|
||||||
|
|
||||||
#if defined(__ELF__)
|
#if defined(__ELF__)
|
||||||
# if !defined(__PIC__)
|
# if !defined(__PIC__) && !defined(__PIE__)
|
||||||
# error "The POSITION_INDEPENDENT_CODE property should cause __PIC__ to be defined on ELF platforms."
|
# error "The POSITION_INDEPENDENT_CODE property should cause __PIC__ or __PIE__ to be defined on ELF platforms."
|
||||||
# endif
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue