diff options
author | Alexey Neyman <stilor@att.net> | 2018-05-26 06:57:29 (GMT) |
---|---|---|
committer | Alexey Neyman <stilor@att.net> | 2018-06-05 07:16:37 (GMT) |
commit | 07ec87f14f2bb078235a7db25d4a923e9319f53c (patch) | |
tree | 2b1f357525d71bdc1ca609ce1ae69c938e7fd057 /scripts/build/companion_libs/210-expat.sh | |
parent | ec384f2b9fa1337c7bbcd7ed7e972516bd696b3b (diff) |
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/210-expat.sh')
-rw-r--r-- | scripts/build/companion_libs/210-expat.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/build/companion_libs/210-expat.sh b/scripts/build/companion_libs/210-expat.sh index f848541..75a78bf 100644 --- a/scripts/build/companion_libs/210-expat.sh +++ b/scripts/build/companion_libs/210-expat.sh @@ -54,7 +54,7 @@ do_expat_for_target() { prefix="/usr" ;; esac - expat_opts+=( "cflags=${CT_TARGET_CFLAGS}" ) + expat_opts+=( "cflags=${CT_ALL_TARGET_CFLAGS}" ) expat_opts+=( "prefix=${prefix}" ) expat_opts+=( "destdir=${CT_SYSROOT_DIR}" ) expat_opts+=( "shared=${CT_SHARED_LIBS}" ) |