commit | 966660ecd0c8a3d6e4d18a5352bb431e71a9a793 | [log] [tgz] |
---|---|---|
author | Chris Kay <chris.kay@arm.com> | Thu Feb 02 14:39:03 2023 +0000 |
committer | Chris Kay <chris.kay@arm.com> | Fri Feb 10 17:01:46 2023 +0000 |
tree | 9aa10f0dcbab9a4ae1ba86c332397236f89e967c | |
parent | ec1c00a79c92c65bd568a2251ce614eae7eb7c77 [diff] |
fix(pie): pass `-fpie` to the preprocessor as well When PIE is enabled, the `-fpie` flag is passed to the compiler but not to the preprocessor. This change ensures that both tools are aware of when the image is position-independent when preprocessing, which impacts some pre-defined preprocessor definitions. Change-Id: I5208a591d60ee01312f6bf3dd7343abe6535ee61 Signed-off-by: Chris Kay <chris.kay@arm.com>