Skip to content

parser: fix LTO build

Georgia Garcia requested to merge georgiag/apparmor:fix-lto into master

The previous fix for LTO builds in b6d3daa7 did not take into consideration that LTO support could be added through CFLAGS,in which case the fix would not be applied.

This patch applied the fix -flto-partition=none even if CFLAGS is already defined.

Signed-off-by: Georgia Garcia

Fixes #214 (closed)

Edited by Georgia Garcia

Merge request reports