aboutsummaryrefslogtreecommitdiff
path: root/scripts/build/debug/500-strace.sh
diff options
context:
space:
mode:
authorAlexey Neyman <stilor@att.net>2018-05-25 23:57:29 -0700
committerAlexey Neyman <stilor@att.net>2018-06-05 00:16:37 -0700
commit07ec87f14f2bb078235a7db25d4a923e9319f53c (patch)
tree2b1f357525d71bdc1ca609ce1ae69c938e7fd057 /scripts/build/debug/500-strace.sh
parentec384f2b9fa1337c7bbcd7ed7e972516bd696b3b (diff)
downloadcrosstool-ng-07ec87f14f2bb078235a7db25d4a923e9319f53c.tar.gz
crosstool-ng-07ec87f14f2bb078235a7db25d4a923e9319f53c.tar.bz2
crosstool-ng-07ec87f14f2bb078235a7db25d4a923e9319f53c.zip
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 <stilor@att.net>
Diffstat (limited to 'scripts/build/debug/500-strace.sh')
-rw-r--r--scripts/build/debug/500-strace.sh4
1 files changed, 2 insertions, 2 deletions
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} \