openwrt/package
Alois Klink f5db80a3ab uclibc++: fix compilation with long file paths
Currently, uClic++ 0.2.5 fails to compile when using a long filepath.

For example, if the openwrt directory is in the path:
/tmp/this_directory_name_is_very_long/more_long_paths/.../openwrt,
then uclibc++ will cause a very obtuse error.

Although the uclibc++ makefiles do print a "File name too long" error,
it's not the final error that's printed, so it's a bit confusing:

> /bin/sh: 1:
> cannot create src/abi/libsupc/<SNIP>_libsupc++.a.dep: File name too long
> <SNIP: some other makefile output here>
> array_type_info.o: No such file or directory

Although OpenWRT 22.03 and current master branch have removed uClib++,
I thought I'd make a PR for OpenWRT 21.02, since I encountered it
and there seems to be quite a few other people experiencing the same issue.
It especially happens when using the SDK, (or when using an encrypted fs)
since the pre-packaged SDKs have very long filenames.

This patch is already in upstream [1], but has not yet been released.

[1]: https://git.busybox.net/uClibc++/commit/?id=6687fc9276fa52defaf8592f2001c19b826aec93

Signed-off-by: Alois Klink <alois@aloisklink.com>
2022-08-28 07:53:56 +02:00
..
base-files OpenWrt v21.02.3: revert to branch defaults 2022-04-17 21:00:07 +02:00
boot ath79: add support for Yuncore A930 2022-04-16 14:48:45 +02:00
devel binutils: fix libbfd missing DSO dependency if NLS enabled 2021-04-10 14:22:28 +02:00
firmware firmware: intel-microcode: update to 20220510 2022-07-23 00:25:50 +02:00
kernel kernel: Remove kmod-crypto-lib-blake2s 2022-07-04 01:35:37 +02:00
libs uclibc++: fix compilation with long file paths 2022-08-28 07:53:56 +02:00
network firewall: config: remove restictions on DHCPv6 allow rule 2022-05-04 15:30:18 +02:00
system rpcd: backport 802.11ax support 2022-02-19 10:01:03 +01:00
utils sdk: add spidev-test to the bundle of userspace sources 2022-07-19 20:27:06 +02:00
Makefile build: fix opkg install step for large package selection 2021-12-31 17:55:29 +01:00