summaryrefslogtreecommitdiff
path: root/package/udev/patches/0001-build-don-t-use-gc-sections.patch
diff options
context:
space:
mode:
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-08-25 10:49:29 +0000
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-08-25 10:49:29 +0000
commitd2d50ad0de3e25c7ff27beb44a5fdf2db16b5e3a (patch)
treea1ecb5ed9aa527d131e3a17ec61e5c56df17b038 /package/udev/patches/0001-build-don-t-use-gc-sections.patch
parent3e6e12295cb214c967095c990cc25bd00d06549e (diff)
[package] udev: bump to 173
Yet another update, I inherited a wrong behaviour with older versions. It used to $(INSTALL_BIN) symlinks which results in copying the dereferenced file and not the symlink itself, now uses $(CP) and it's reported working (and running) by at least one person in IRC (using a glibc toolchain with mips). Works and runs on my toolchain (mipsel uClibc) too. Signed-off-by: Daniel Mierswa <impulze@impulze.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28085 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/udev/patches/0001-build-don-t-use-gc-sections.patch')
-rw-r--r--package/udev/patches/0001-build-don-t-use-gc-sections.patch31
1 files changed, 31 insertions, 0 deletions
diff --git a/package/udev/patches/0001-build-don-t-use-gc-sections.patch b/package/udev/patches/0001-build-don-t-use-gc-sections.patch
new file mode 100644
index 0000000000..f01a5ae1af
--- /dev/null
+++ b/package/udev/patches/0001-build-don-t-use-gc-sections.patch
@@ -0,0 +1,31 @@
+From 971a09345f108189ed899b236784a5440e43c8b6 Mon Sep 17 00:00:00 2001
+From: Daniel Mierswa <impulze@impulze.org>
+Date: Sun, 31 Jul 2011 23:51:49 +0000
+Subject: [PATCH 1/2] build: don't use --gc-sections
+
+somehow won't work with the wrt toolchain
+---
+ Makefile.am | 5 +----
+ 1 files changed, 1 insertions(+), 4 deletions(-)
+
+diff --git a/Makefile.am b/Makefile.am
+index a0c007a..3d8ce92 100644
+--- a/Makefile.am
++++ b/Makefile.am
+@@ -18,12 +18,9 @@ AM_CPPFLAGS = \
+ -DLIBEXECDIR=\""$(libexecdir)"\"
+
+ AM_CFLAGS = \
+- -fvisibility=hidden \
+- -ffunction-sections \
+- -fdata-sections
++ -fvisibility=hidden
+
+ AM_LDFLAGS = \
+- -Wl,--gc-sections \
+ -Wl,--as-needed
+
+ DISTCHECK_CONFIGURE_FLAGS = \
+--
+1.7.6
+