btrfs-progs-0.18 (didn't check others) has hardcoded compier in few places in makefile (gcc $(CFLAGS)). That makes it hard to compile it on anything than gcc and to cross-compile it. Reproducible: Always
Created attachment 182846 [details, diff] this should fix it Attached patch makes Makefile more consistent.