don't add -static to LDFLAGS to fix /usr/lib/gcc/x86_64-poky-linux/13.1.1/../../../../x86_64-poky-linux/bin/ld: cannot find -lc: No such file or directory