commit | 13886c8ece97dca83562afc6290a91878144f540 | [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 | 1a16fa75af2fc787ddaca63ad842d9e5eeae9077 [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>