I was trying to build 32-bit e2fsprogs for Mac OS X Lion, but the linker would complain that the compiled objects weren't x86_64. When looking through the makefile, it seems that LDFLAGS aren't being passed to the linker for BSD libs.
Thanks for reporting this. I've added $(LDFLAGS) to the linker line in Makefile.bsd-lib; this will be in the next release of e2fsprogs.
Thanks for reporting this. I've added $(LDFLAGS) to the linker line in Makefile.bsd-lib; this will be in the next release of e2fsprogs.