diff options
author | Rosen Penev <rosenp@gmail.com> | 2020-12-05 01:21:05 -0800 |
---|---|---|
committer | Paul Spooren <mail@aparcar.org> | 2020-12-07 10:46:43 -1000 |
commit | f7d7a3a18b1f1d1fdcf5b05f4ab1af6b8fc2ce1e (patch) | |
tree | 06bcfcd5c08d28b5c5e96800e782662fbafd61d1 /package/libs/libcxx/files | |
parent | 0ba83a757728185eabd965e07331508923cca825 (diff) | |
download | upstream-f7d7a3a18b1f1d1fdcf5b05f4ab1af6b8fc2ce1e.tar.gz upstream-f7d7a3a18b1f1d1fdcf5b05f4ab1af6b8fc2ce1e.tar.bz2 upstream-f7d7a3a18b1f1d1fdcf5b05f4ab1af6b8fc2ce1e.zip |
libcxx[abi]: remove
This is a neat project, but offers no benefit to OpenWrt. The initial
reason for it was to be a replacement for libstdcpp as it is smaller
and lacks compatibility for C++98. Unfortunately, compiling several
packages with it results in larger ipk sizes.
While not a member of the packages feed, this will be moved to
packages-abandoned to keep it somewhere.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Diffstat (limited to 'package/libs/libcxx/files')
-rwxr-xr-x | package/libs/libcxx/files/g++-libcxx | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/package/libs/libcxx/files/g++-libcxx b/package/libs/libcxx/files/g++-libcxx deleted file mode 100755 index 88b3e7da01..0000000000 --- a/package/libs/libcxx/files/g++-libcxx +++ /dev/null @@ -1,19 +0,0 @@ -#!/bin/sh - -WRAPPER_INCLUDEDIR="-I$STAGING_DIR/usr/include/c++/v1" -WRAPPER_LIBDIR="-L$STAGING_DIR/usr/lib" -WRAPPER_LIBS="-lc -lgcc_s -lssp_nonshared" - -WRAPPER_OPTIONS="" -WRAPPER_INCLIB="Y" -for arg -do - case "$arg" in - -c|-E|-S) WRAPPER_INCLIB="N" ;; - -static) [ "$WRAPPER_LIBS" != "-lc -lgcc_s -lssp_nonshared -lgcc_eh" ] && WRAPPER_LIBS="-lc -lgcc_s -lssp_nonshared -lgcc_eh" ;; - esac -done -[ "$WRAPPER_INCLIB" = "Y" ] && WRAPPER_OPTIONS="-nodefaultlibs $WRAPPER_LIBDIR -lc++ -lc++abi $WRAPPER_LIBS" - -exec CXX -nostdinc++ -DGCC_HASCLASSVISIBILITY "$WRAPPER_INCLUDEDIR" "$@" $WRAPPER_OPTIONS - |