Currently libapparmor fails to build when lto is used because it uses the asm directive to provide different version of some symbols. Unfortunately gcc does not recognize this and the symbols defined by asm are lost and optimized out by lto and then the link fails.
Fixes: #214 (closed) Signed-off-by: John Johansen john.johansen@canonical.com