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   
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

Fixed now in git:

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

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.