Bug 26310 - libbsd shared library link should use $(CFLAGS)
Summary: libbsd shared library link should use $(CFLAGS)
Status: RESOLVED FIXED
Alias: None
Product: libbsd
Classification: Unclassified
Component: libbsd (show other bugs)
Version: unspecified
Hardware: All All
: medium normal
Assignee: Guillem Jover
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-28 23:11 UTC by Eric Smith
Modified: 2010-01-31 05:24 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
patch Makefile to use $(CFLAGS) when linking shared library (424 bytes, patch)
2010-01-28 23:11 UTC, Eric Smith
Details | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
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.