]> git.baikalelectronics.ru Git - arm-tf.git/commit
fix(pie): pass `-fpie` to the preprocessor as well
authorChris Kay <chris.kay@arm.com>
Thu, 2 Feb 2023 14:39:03 +0000 (14:39 +0000)
committerChris Kay <chris.kay@arm.com>
Fri, 10 Feb 2023 17:01:46 +0000 (17:01 +0000)
commit966660ecd0c8a3d6e4d18a5352bb431e71a9a793
tree9aa10f0dcbab9a4ae1ba86c332397236f89e967c
parentec1c00a79c92c65bd568a2251ce614eae7eb7c77
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>
Makefile