From 2311544499c2393f189e65f2d0fe777ea55eb840 Mon Sep 17 00:00:00 2001 From: Guillem Jover Date: Fri, 19 Mar 2021 17:46:07 +0100 Subject: [PATCH] TT#111150 Do not set -O3 when DBG is not set This forces the optimization option and no way to disable it. Change-Id: Ia801cccb7ae3f9db81544715132489f29e0ea971 --- lib/lib.Makefile | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/lib.Makefile b/lib/lib.Makefile index 03535169c..b036f099e 100644 --- a/lib/lib.Makefile +++ b/lib/lib.Makefile @@ -47,8 +47,6 @@ endif ifeq ($(DBG),yes) CFLAGS+= -D__DEBUG=1 -else -CFLAGS+= -O3 endif