perf build: Add EXTRA_LDFLAGS option to makefile
authorZubair Lutfullah Kakakhel <Zubair.Kakakhel@imgtec.com>
Tue, 9 Feb 2016 13:33:38 +0000 (13:33 +0000)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 12 Feb 2016 14:30:20 +0000 (11:30 -0300)
commit37b4e2020a5f4dbecf22ee3efe92de6dbea1c5f0
tree3a4f4544165c971293cdb82afd2bbf8ba77453b0
parente7ee404757609067c8f261d90251f1e96459c535
perf build: Add EXTRA_LDFLAGS option to makefile

To compile for little-endian systems, you need to pass -EL to CC and LD.

EXTRA_CFLAGS works to pass -EL to CC.
Add EXTRA_LDFLAGS to pass -EL to LD.

Signed-off-by: Zubair Lutfullah Kakakhel <Zubair.Kakakhel@imgtec.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/1455024818-15842-1-git-send-email-Zubair.Kakakhel@imgtec.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/Makefile.perf