diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2014-05-26 16:26:19 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2014-05-26 16:26:42 +0200 |
commit | 6a6fb6f8bef22e088346a47067bef6858e85b1ba (patch) | |
tree | 3008efa786fb8469d9ccf632df679e53dc4d6904 /package/uclibc++/patches/patch-Rules_mak | |
parent | 75c84829735aac7f5503f084738c419bd563b105 (diff) |
fix compile
Diffstat (limited to 'package/uclibc++/patches/patch-Rules_mak')
-rw-r--r-- | package/uclibc++/patches/patch-Rules_mak | 12 |
1 files changed, 12 insertions, 0 deletions
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))) + #")) |