From 6a6fb6f8bef22e088346a47067bef6858e85b1ba Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Mon, 26 May 2014 16:26:19 +0200 Subject: fix compile --- package/uclibc++/patches/patch-Rules_mak | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 package/uclibc++/patches/patch-Rules_mak (limited to 'package/uclibc++/patches/patch-Rules_mak') diff --git a/package/uclibc++/patches/patch-Rules_mak b/package/uclibc++/patches/patch-Rules_mak new file mode 100644 index 000000000..228483825 --- /dev/null +++ b/package/uclibc++/patches/patch-Rules_mak @@ -0,0 +1,12 @@ +--- uClibc++-0.2.4.orig/Rules.mak 2012-05-25 23:15:31.000000000 +0200 ++++ uClibc++-0.2.4/Rules.mak 2014-05-26 16:20:39.000000000 +0200 +@@ -79,9 +79,6 @@ check_gcc=$(shell if $(CC) $(1) -S -o /d + check_gxx_visibility=$(shell if $(CXX) -fvisibility-inlines-hidden -S -o /dev/null -xc++ /dev/null > /dev/null 2>&1; \ + then echo "-DGCC_HASCLASSVISIBILITY"; fi) + +-check_as_needed=$(shell if $(LD) --help | grep -q 'as-needed' ; \ +- then echo "-Wl,--as-needed -lgcc_s -Wl,--no-as-needed"; else echo "-lgcc_s"; fi) +- + # strip quotes + qstrip = $(strip $(subst ",,$(1))) + #")) -- cgit v1.2.3