lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <tip-37b4e2020a5f4dbecf22ee3efe92de6dbea1c5f0@git.kernel.org>
Date:	Mon, 15 Feb 2016 23:52:26 -0800
From:	tip-bot for Zubair Lutfullah Kakakhel <tipbot@...or.com>
To:	linux-tip-commits@...r.kernel.org
Cc:	tglx@...utronix.de, mingo@...nel.org, acme@...hat.com,
	Zubair.Kakakhel@...tec.com, linux-kernel@...r.kernel.org,
	peterz@...radead.org, hpa@...or.com
Subject: [tip:perf/core] perf build: Add EXTRA_LDFLAGS option to makefile

Commit-ID:  37b4e2020a5f4dbecf22ee3efe92de6dbea1c5f0
Gitweb:     http://git.kernel.org/tip/37b4e2020a5f4dbecf22ee3efe92de6dbea1c5f0
Author:     Zubair Lutfullah Kakakhel <Zubair.Kakakhel@...tec.com>
AuthorDate: Tue, 9 Feb 2016 13:33:38 +0000
Committer:  Arnaldo Carvalho de Melo <acme@...hat.com>
CommitDate: Fri, 12 Feb 2016 11:30:20 -0300

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@...tec.com>
Cc: Peter Zijlstra <peterz@...radead.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@...hat.com>
---
 tools/perf/Makefile.perf | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tools/perf/Makefile.perf b/tools/perf/Makefile.perf
index d404117..4a4fad4 100644
--- a/tools/perf/Makefile.perf
+++ b/tools/perf/Makefile.perf
@@ -139,6 +139,8 @@ $(call allow-override,CC,$(CROSS_COMPILE)gcc)
 $(call allow-override,AR,$(CROSS_COMPILE)ar)
 $(call allow-override,LD,$(CROSS_COMPILE)ld)
 
+LD += $(EXTRA_LDFLAGS)
+
 PKG_CONFIG = $(CROSS_COMPILE)pkg-config
 
 RM      = rm -f

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ