Bug 33221 - Configure incorrectly determines whether C++ compiler understands -fvisibility=hidden
Summary: Configure incorrectly determines whether C++ compiler understands -fvisibilit...
Status: RESOLVED FIXED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Other (show other bugs)
Version: 7.9
Hardware: Other All
: medium normal
Assignee: mesa-dev
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-17 19:59 UTC by Bryan Henderson
Modified: 2012-08-18 06:34 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Bryan Henderson 2011-01-17 19:59:24 UTC
When Configure attempts to determin whether the C++ compiler understands -fvisibility=hidden, it always concludes that it does.  This is because it does the test link using the C compiler with CFLAGS, which at that time does not contain -fvisibility=hidden.  The test adds -fvisibility=hidden to CXXFLAGS, but that does not get used in the test compile.
Comment 1 Matt Turner 2012-08-18 06:34:43 UTC
Fixed by commit 560f76227ccc848390095414e93d199e588b0c92


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.