The cirros image was rebuilt against the 3.13.0-83 kernel, drivers e1000e, igbvf...
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / buildroot-2015.05 / package / qt5 / qt5base / 0006-configure-fix-gold-linker-support-detection.patch
1 From 6e750053cd6d183173a4c39f2b1080b3c9814d76 Mon Sep 17 00:00:00 2001
2 From: Peter Korsgaard <peter@korsgaard.com>
3 Date: Sun, 15 Feb 2015 22:58:07 +0100
4 Subject: [PATCH] configure: fix gold linker support detection
5
6 Submitted upstream: https://bugreports.qt.io/browse/QTBUG-44487
7
8 While the -fuse-ld=gold flag is related to linking, it is an argument to the
9 compiler driver to tell it what linker to execute, NOT an option to tell the
10 linker to behave differently.
11
12 So it shouldn't get prefixed with -Wl when passed though the compiler driver.
13
14 Fixes http://autobuild.buildroot.net/results/92c/92c3fb4ddb934115b228652bb8c972bb7459bb40/
15
16 Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
17 ---
18  configure | 2 +-
19  1 file changed, 1 insertion(+), 1 deletion(-)
20
21 diff --git a/configure b/configure
22 index 043d9fc..987d7f0 100755
23 --- a/configure
24 +++ b/configure
25 @@ -3263,7 +3263,7 @@ fi
26  
27  # auto-detect -fuse-ld=gold support
28  if [ "$CFG_USE_GOLD_LINKER" != "no" ]; then
29 -    if linkerSupportsFlag $TEST_COMPILER -fuse-ld=gold; then
30 +    if compilerSupportsFlag $TEST_COMPILER -fuse-ld=gold; then
31         CFG_USE_GOLD_LINKER=yes
32      else
33          if [ "$CFG_USE_GOLD_LINKER" = "yes" ]; then
34 -- 
35 2.1.3
36