xtensa: fix CONFIG_DEBUG build
A patch moved the specification of debug flags to a KBUILD_CFLAGS_OPTIMIZE, but this Makefile wasn't updated. Change-Id: Ic0d23f95609798473298cda4c044981edabb3ed5 Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
This commit is contained in:
parent
8e22350651
commit
06dc2f203f
1 changed files with 1 additions and 1 deletions
|
@ -79,7 +79,7 @@ KBUILD_CPPFLAGS += -I$(XTENSA_TOOLS_PATH)/lib/xcc/include \
|
|||
-D'__builtin_unreachable()=while(1);'
|
||||
|
||||
# xt-xcc does not support -Og, replace with -O0
|
||||
KBUILD_CFLAGS:=$(patsubst -Og,-O0,${KBUILD_CFLAGS})
|
||||
KBUILD_CFLAGS_OPTIMIZE:=$(patsubst -Og,-O0,${KBUILD_CFLAGS_OPTIMIZE})
|
||||
KBUILD_CXXFLAGS:=$(filter-out \
|
||||
-std=c++11 \
|
||||
-fno-reorder-functions \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue