From 07ec87f14f2bb078235a7db25d4a923e9319f53c Mon Sep 17 00:00:00 2001 From: Alexey Neyman Date: Fri, 25 May 2018 23:57:29 -0700 Subject: Avoid adding arch/cpu/tune flags for target to GCC build ... as it may need to override them for building runtime-selectable code. Signed-off-by: Alexey Neyman --- scripts/build/debug/500-strace.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scripts/build/debug/500-strace.sh') diff --git a/scripts/build/debug/500-strace.sh b/scripts/build/debug/500-strace.sh index 480daaad..4f6d6aa3 100644 --- a/scripts/build/debug/500-strace.sh +++ b/scripts/build/debug/500-strace.sh @@ -12,7 +12,7 @@ do_debug_strace_extract() do_debug_strace_build() { - local cflags="${CT_TARGET_CFLAGS}" + local cflags="${CT_ALL_TARGET_CFLAGS}" CT_DoStep INFO "Installing strace" @@ -30,7 +30,7 @@ do_debug_strace_build() CT_DoExecLog CFG \ CC="${CT_TARGET}-${CT_CC}" \ CFLAGS="${cflags}" \ - LDFLAGS="${CT_TARGET_LDFLAGS}" \ + LDFLAGS="${CT_ALL_TARGET_LDFLAGS}" \ CPP="${CT_TARGET}-cpp" \ LD="${CT_TARGET}-ld" \ ${CONFIG_SHELL} \ -- cgit v1.2.3