include/kernel.mk: enhance built-in/missing modules detection when packaging kmods
[openwrt.git] / package / udev / patches / 0001-build-don-t-use-gc-sections.patch
1 From 971a09345f108189ed899b236784a5440e43c8b6 Mon Sep 17 00:00:00 2001
2 From: Daniel Mierswa <impulze@impulze.org>
3 Date: Sun, 31 Jul 2011 23:51:49 +0000
4 Subject: [PATCH 1/2] build: don't use --gc-sections
5
6 somehow won't work with the wrt toolchain
7 ---
8 Makefile.am | 5 +----
9 1 files changed, 1 insertions(+), 4 deletions(-)
10
11 diff --git a/Makefile.am b/Makefile.am
12 index 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 --
30 1.7.6
31
This page took 0.042473 seconds and 5 git commands to generate.