From: Zhihong Wang Date: Thu, 29 Jan 2015 02:38:44 +0000 (+0800) Subject: app/test: disable variable tracking assignment for memcpy X-Git-Tag: spdx-start~9548 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=74adbc5ef704;p=dpdk.git 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 --- 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