/usr/src/gcc-6/debian/bin-wrapper.in is in gcc-6-source 6.4.0-17ubuntu1.
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) "$@"
|