Commit b6d3daa7 authored by Georgia Garcia's avatar Georgia Garcia
Browse files

parser: fix building with link time optimization (lto)

Libapparmor was fixed for lto builds on commit 7cde91f5 but
the parser was also failing due to the same reasons when lto
was enabled.

Fixes: #214


Signed-off-by: Georgia Garcia's avatarGeorgia Garcia <georgia.garcia@canonical.com>
parent e71e27c5
......@@ -60,7 +60,7 @@ WARNINGS = -Wall
CXX_WARNINGS = ${WARNINGS} ${EXTRA_WARNINGS}
CPP_WARNINGS =
ifndef CFLAGS
CFLAGS = -g -O2 -pipe
CFLAGS = -g -O2 -pipe -flto-partition=none
ifdef DEBUG
CFLAGS += -pg -D DEBUG
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment