• Skip to sidebar navigation
  • Skip to content

Bitbucket

  • More
    ProjectsRepositories
  • Help
    • Online help
    • Learn Git
    • Welcome to Bitbucket
    • Keyboard shortcuts
  • Log In
Alexander Dahl
  1. Alexander Dahl

buildroot

Public
Actions
  • Clone
  • Compare

Learn more about cloning repositories

You have read-only access

Navigation
  • Source
  • Commits
  • Branches
  • All Branches Graph
  • Forks
  1. Alexander Dahl
  2. buildroot

Source

buildroot/package/efivar/0001-Use-z-muldefs-to-avoid-the-multiple-definitions-bug-.patch
Andy ShevchenkoAndy Shevchenko committed 7497818be7e27 Nov 2016
Raw file
Source viewDiff to previous
 
1
From 314eb67b239e60c2ed3700e2baf9cd0e590465f3 Mon Sep 17 00:00:00 2001
2
From: Peter Jones <pjones@redhat.com>
3
Date: Thu, 27 Oct 2016 09:19:18 -0400
4
Subject: [PATCH] Use -z muldefs to avoid the multiple definitions bug
5
 without -flto
6
​
7
This fixes github issue #64
8
​
9
Signed-off-by: Peter Jones <pjones@redhat.com>
10
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
11
---
12
 Make.defaults | 1 +
13
 1 file changed, 1 insertion(+)
14
​
15
diff --git a/Make.defaults b/Make.defaults
16
index aa974d9..c9d599f 100644
17
--- a/Make.defaults
18
+++ b/Make.defaults
19
@@ -32,6 +32,7 @@ cflags    = $(CFLAGS) -I${TOPDIR}/src/include/efivar/ \
20
 clang_ccldflags =
21
 gcc_ccldflags =
22
 ccldflags = $(cflags) -L. $(CCLDFLAGS) $(LDFLAGS) \
23
+   -Wl,-z,muldefs \
24
    $(if $(findstring clang,$(CCLD)),$(clang_ccldflags),) \
25
    $(if $(findstring gcc,$(CCLD)),$(gcc_ccldflags),) \
26
    $(call pkg-config-ccldflags)
27
-- 
28
2.10.2
29
​
  • Git repository management for enterprise teams powered by Atlassian Bitbucket
  • Atlassian Bitbucket v6.7.2
  • Documentation
  • Request a feature
  • About
  • Contact Atlassian
Atlassian

Everything looks good. We'll let you know here if there's anything you should know about.