selftests/powerpc: Handle Makefile for unrecognized option
authorHarish <harish@linux.ibm.com>
Wed, 13 Nov 2019 09:42:19 +0000 (15:12 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 14 Nov 2019 08:50:31 +0000 (19:50 +1100)
commit0695f8bca93ea0c57f0e8e21b4b4db70183b3d1c
tree2f7500e2c9bf03f0fa0f29a1867ac60acdb6e7a3
parent3df191118b4ca20f58c7a84e59330c6b9d99454b
selftests/powerpc: Handle Makefile for unrecognized option

On older distributions like Sles12SP5 gcc does not recognize
-no-pie option making the powerpc selftests build to fail

Fixes the following:
gcc: error: unrecognized command line option ‘-no-pie’

Signed-off-by: Harish <harish@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20191113094219.14946-1-harish@linux.ibm.com
tools/testing/selftests/powerpc/pmu/ebb/Makefile