Commit e3983c87 authored by Stephen Kelly's avatar Stephen Kelly Committed by Thiago Macieira
Browse files

Revert some changes in light of GCC 4 -fPIE reversal


The -fPIE option is now accepted when using GCC 4, which means it
is available for backward compatibility for clients using
CMake 2.8.11 or older which makes use of the
POSITION_INDEPENDENT_CODE feature.

Conditionally use that feature for old versions of cmake with
GCC 4. Restore the tests for those versions, and clarify the
situation in the ChangeLog.

Change-Id: I5a06b155dda7db559d86841a2b34fd8ed95acbd0
Reviewed-by: default avatarThiago Macieira <thiago.macieira@intel.com>
parent 95b6c4fe
No related merge requests found
Showing with 31 additions and 12 deletions
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment