2 ms·
From mold I learned this amazing trick of intercepting the exec() family through LD_PRELOAD. I was experimenting with it in the Spack package manager to force a
by stabbles 4y ago
From mold I learned this amazing trick of intercepting the exec() family through LD_PRELOAD. I was experimenting with it in the Spack package manager to force a uniform compiler and linker, and let it inject flags. Useful since packages sometimes override CC/CXX variables or don't propagate -fuse-ld=... (and that flag is not always supported).