mirror of
https://github.com/bensuperpc/dockcross.git
synced 2026-07-26 04:48:08 +02:00
ad3c0cad8c
Using -I/usr/include during the crosstool-ng build of libstdc++ pulled in host x86_64 headers where int64_t is long long, contaminating the aarch64 cross-build where int64_t should be long. This caused linker errors for std::__atomic_futex_unsigned_base symbols due to mismatched C++ name mangling between headers and the built library. Copy only the required sys/sdt.h headers into /opt/ct-ng-includes and point CT_CC_GCC_ENABLE_CXX_FLAGS there instead, matching the approach used by manylinux_2_28-aarch64.