mesa3d-headers: remove installation of OpenVG headers
[buildroot-gz.git] / package / efivar / 0001-Use-z-muldefs-to-avoid-the-multiple-definitions-bug-.patch
blob2bc3ff243f6bcfd3f81bab684b2a21cae22ceb15
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
7 This fixes github issue #64
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(+)
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