Bug 26310

Summary: libbsd shared library link should use $(CFLAGS)
Product: libbsd Reporter: Eric Smith <brouhaha>
Component: libbsdAssignee: Guillem Jover <guillem>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: patch Makefile to use $(CFLAGS) when linking shared library

Description Eric Smith 2010-01-28 23:11:55 UTC
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.
Comment 1 Guillem Jover 2010-01-31 05:24:52 UTC
Hi!

Fixed now in git:
<http://cgit.freedesktop.org/libbsd/commit/?id=06a60a166ab19000b024dc1f70880278c09d8bc3>

I did some cleanup to the Makefile, and added the also missing LDFLAGS variables.
Thanks.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.