Home
last modified time | relevance | path

Searched hist:d1156e0b967cf219f5bef8eef83792cd42cb1dd6 (Results 1 – 1 of 1) sorted by relevance

/rk3399_ARM-atf/
H A DMakefiled1156e0b967cf219f5bef8eef83792cd42cb1dd6 Tue Jan 23 03:30:05 UTC 2018 Steve Capper <steve.capper@arm.com> Correct the Makefile logic for disabling PIE

In the Makefile we use findstring to locate gcc toolchains
that have PIE enabled by default.

Unfortunately the result of findstring is compared against
an integer, 1, rather than a non-empty string; the logic to
disable PIE then doesn't get applied.

This patch fixes the flag test.

Fixes: f7ec31db2db3 ("Disable PIE compilation option")
Change-Id: I4cd2866974e313d6b408f9681311d78a208ab468
Signed-off-by: Steve Capper <steve.capper@arm.com>