Root/package/udev/patches/0001-build-don-t-use-gc-sections.patch

1From 971a09345f108189ed899b236784a5440e43c8b6 Mon Sep 17 00:00:00 2001
2From: Daniel Mierswa <impulze@impulze.org>
3Date: Sun, 31 Jul 2011 23:51:49 +0000
4Subject: [PATCH 1/2] build: don't use --gc-sections
5
6somehow won't work with the wrt toolchain
7---
8 Makefile.am | 5 +----
9 1 files changed, 1 insertions(+), 4 deletions(-)
10
11diff --git a/Makefile.am b/Makefile.am
12index a0c007a..3d8ce92 100644
13--- a/Makefile.am
14+++ b/Makefile.am
15@@ -18,12 +18,9 @@ AM_CPPFLAGS = \
16     -DLIBEXECDIR=\""$(libexecdir)"\"
17 
18 AM_CFLAGS = \
19- -fvisibility=hidden \
20- -ffunction-sections \
21- -fdata-sections
22+ -fvisibility=hidden
23 
24 AM_LDFLAGS = \
25- -Wl,--gc-sections \
26     -Wl,--as-needed
27 
28 DISTCHECK_CONFIGURE_FLAGS = \
29--
301.7.6
31
32

Archive Download this file



interactive