summaryrefslogtreecommitdiff
path: root/scripts/build/companion_libs/200-libelf.sh
diff options
context:
space:
mode:
authorAlexey Neyman <stilor@att.net>2018-06-06 05:32:45 (GMT)
committerGitHub <noreply@github.com>2018-06-06 05:32:45 (GMT)
commit83582f4fd4355f572edab7a6ab7ff5585736ead9 (patch)
treea1a083961fc8bf11cc92390a0b333c931c3b83ff /scripts/build/companion_libs/200-libelf.sh
parentec384f2b9fa1337c7bbcd7ed7e972516bd696b3b (diff)
parent57679b5e610e488cc6c25b259331cb25d412c771 (diff)
Merge pull request #978 from stilor/fix-gcc8-regressions
Fix gcc8 regressions
Diffstat (limited to 'scripts/build/companion_libs/200-libelf.sh')
-rw-r--r--scripts/build/companion_libs/200-libelf.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/build/companion_libs/200-libelf.sh b/scripts/build/companion_libs/200-libelf.sh
index 5f1a8d7..f0d8be4 100644
--- a/scripts/build/companion_libs/200-libelf.sh
+++ b/scripts/build/companion_libs/200-libelf.sh
@@ -81,7 +81,7 @@ do_libelf_for_target() {
libelf_opts+=( "destdir=${CT_SYSROOT_DIR}" )
libelf_opts+=( "host=${CT_TARGET}" )
- libelf_opts+=( "cflags=${CT_TARGET_CFLAGS}" )
+ libelf_opts+=( "cflags=${CT_ALL_TARGET_CFLAGS}" )
libelf_opts+=( "prefix=${prefix}" )
libelf_opts+=( "shared=${CT_SHARED_LIBS}" )
do_libelf_backend "${libelf_opts[@]}"