hyprland-plugins icon indicating copy to clipboard operation
hyprland-plugins copied to clipboard

Unbreak build with Clang

Open jbeich opened this issue 2 years ago • 1 comments

Only Gold and LLD support --no-gnu-unique. GCC defaults to -fuse-ld=bfd, so --no-gnu-unique is discarded unless GCC itself was built with --disable-gnu-unique-object. Clang doesn't have such magic, so --no-gnu-unique fails because it's not supported by the compiler unlike -Wl,--no-gnu-unique which is passed to the linker and works fine with -fuse-ld=gold, -fuse-ld=lld or when /usr/bin/ld is Gold/LLD.

Also, Meson support in hyprbars doesn't try to pass --no-gnu-unique

jbeich avatar May 08 '23 19:05 jbeich

the issue is that without no gnu unique reloading (unloading, then loading) a plugin does not work.

vaxerski avatar May 09 '23 12:05 vaxerski