From 74adbc5ef704137d233f6015c8cabc5d838ccce1 Mon Sep 17 00:00:00 2001 From: Zhihong Wang Date: Thu, 29 Jan 2015 10:38:44 +0800 Subject: [PATCH] app/test: disable variable tracking assignment for memcpy VTA is for debugging only, it increases compile time and binary size, especially when there're a lot of inlines. So disable it since memcpy test contains a lot of inline calls. Signed-off-by: Zhihong Wang Acked-by: Cunming Liang Acked-by: Pablo de Lara --- app/test/Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/app/test/Makefile b/app/test/Makefile index 89fac6dc71..9f0262c53f 100644 --- a/app/test/Makefile +++ b/app/test/Makefile @@ -150,6 +150,12 @@ CFLAGS_test_kni.o += -Wno-deprecated-declarations endif CFLAGS += -D_GNU_SOURCE +# Disable VTA for memcpy test +ifeq ($(CC), gcc) +CFLAGS_test_memcpy.o += -fno-var-tracking-assignments +CFLAGS_test_memcpy_perf.o += -fno-var-tracking-assignments +endif + # this application needs libraries first DEPDIRS-y += lib -- 2.20.1