/usr/src/gcc-8/debian/bin-wrapper.in is in gcc-8-source 8-20180414-1ubuntu2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 | #! /bin/sh
# some build tools are linked with a new libstdc++ and fail to run
# when building libstdc++.
if [ -n "$LD_LIBRARY_PATH" ]; then
ma=$(dpkg-architecture -qDEB_BUILD_MULTIARCH)
export LD_LIBRARY_PATH="/lib/$ma:/usr/lib/$ma:/lib:/usr/lib:$LD_LIBRARY_PATH"
fi
exec /usr/bin/$(basename $0) "$@"
|