Created attachment 32890 [details] [review]
patch Makefile to use $(CFLAGS) when linking shared library
I'm packaging libbsd for Fedora, and in order to build the shared library according to Fedora requirements (among other reasons, to get a debuginfo package), it is necessary to use $(CFLAGS) when linking the shared library.
Fixed now in git:
I did some cleanup to the Makefile, and added the also missing LDFLAGS variables.