diff options
author | Alexey Neyman <stilor@att.net> | 2018-05-25 23:57:29 -0700 |
---|---|---|
committer | Alexey Neyman <stilor@att.net> | 2018-06-05 00:16:37 -0700 |
commit | 07ec87f14f2bb078235a7db25d4a923e9319f53c (patch) | |
tree | 2b1f357525d71bdc1ca609ce1ae69c938e7fd057 /scripts/build/companion_libs/200-libelf.sh | |
parent | ec384f2b9fa1337c7bbcd7ed7e972516bd696b3b (diff) | |
download | crosstool-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/companion_libs/200-libelf.sh')
-rw-r--r-- | scripts/build/companion_libs/200-libelf.sh | 2 |
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 5f1a8d73..f0d8be47 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[@]}" |