Ok, this is because of hardening flags, and especially PIE:
scapa# LDFLAGS="-fPIE -pie" ./configure |grep -- -static checking if gcc static flag -static works... no scapa# ./configure |grep -- -static checking if gcc static flag -static works... yes
I'm not too sure if lightdm-gtk-greeter does something weird wrt. others, but there's definitely something fishy here.
Ok, this is because of hardening flags, and especially PIE:
scapa# LDFLAGS="-fPIE -pie" ./configure |grep -- -static
checking if gcc static flag -static works... no
scapa# ./configure |grep -- -static
checking if gcc static flag -static works... yes
I'm not too sure if lightdm-gtk-greeter does something weird wrt. others, but there's definitely something fishy here.