Bug 67413

Summary: [build] do not use dead code
Product: p11-glue Reporter: Alon Bar-Lev <alon.barlev>
Component: p11-kitAssignee: Stef Walter <stefw>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: medium CC: stefw
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: p11-kit-optimized-configure.patch
p11-kit-optimized-configure.patch
p11-kit-0.19.3-build.patch

Description Alon Bar-Lev 2013-07-27 20:09:48 UTC
Created attachment 83100 [details]
p11-kit-optimized-configure.patch

Compiler removes dead code before linkage, so dead code cannot be used.

Example:

extern int __libc_enable_secure; void main() { }
Comment 1 Alon Bar-Lev 2013-07-27 20:12:30 UTC
Created attachment 83101 [details] [review]
p11-kit-optimized-configure.patch
Comment 2 Alon Bar-Lev 2013-07-27 20:22:09 UTC
Created attachment 83102 [details] [review]
p11-kit-0.19.3-build.patch

Sorry, had error.

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.