Isaac True

Results 4 comments of Isaac True

More info: Compiled on Gentoo with "-static" added to the CFLAGS. gcc --v: ```` Using built-in specs. COLLECT_GCC=/usr/x86_64-pc-linux-gnu/gcc-bin/7.2.0/gcc COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-pc-linux-gnu/7.2.0/lto-wrapper Target: x86_64-pc-linux-gnu Configured with: /var/tmp/portage/sys-devel/gcc-7.2.0/work/gcc-7.2.0/configure --host=x86_64-pc-linux-gnu --build=x86_64-pc-linux-gnu --prefix=/usr --bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/7.2.0 --includedir=/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/include --datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/7.2.0...

This can also be triggered by `-mcpu`. Adding this to the config from https://github.com/clangd/clangd/issues/1582#issuecomment-1581955437 fixed it for me. ``` CompileFlags: Remove: [-march=*, -mabi=*, -mcpu=*] ```

This is the more generic implementation of my previous PR https://github.com/snapcore/spread/pull/167

Reimplementation of the former PR https://github.com/snapcore/spread/pull/166 in order to make use of pre-exisiting common variables (@mvo5)