The failing mwrap did not set the LDFLAGS on its own. `strings /usr/bin/mkoctfile` shows that mkoctfile includes `-specs=/usr/share/dpkg/elf-package-metadata.specs`.
The failing mwrap did not set the LDFLAGS on its own. `strings /usr/bin/mkoctfile` shows that mkoctfile includes `-specs= /usr/share/ dpkg/elf- package- metadata. specs`.