aboutsummaryrefslogtreecommitdiff
path: root/scripts/build/libc/glibc.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/libc/glibc.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/libc/glibc.sh')
-rw-r--r--scripts/build/libc/glibc.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/build/libc/glibc.sh b/scripts/build/libc/glibc.sh
index 2f257b55..f8af7fc3 100644
--- a/scripts/build/libc/glibc.sh
+++ b/scripts/build/libc/glibc.sh
@@ -197,7 +197,7 @@ do_libc_backend_once() {
esac
# In the order of increasing precedence. Flags common to compiler and linker.
- glibc_cflags+=" ${CT_TARGET_CFLAGS}"
+ glibc_cflags+=" ${CT_ALL_TARGET_CFLAGS}"
glibc_cflags+=" ${CT_GLIBC_EXTRA_CFLAGS}"
glibc_cflags+=" ${multi_flags}"