Merge pull request #1280 from dimkr/musl-cflags

Resepct CT_TARGET_{C,LD}FLAGS when building musl
This commit is contained in:
Alexey Neyman 2019-12-23 14:58:45 -08:00 committed by GitHub
commit e0a63b8546
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -98,7 +98,8 @@ musl_backend_once() {
# host : same as --target
# target : the machine musl runs on
CT_DoExecLog CFG \
CFLAGS="${extra_cflags[*]}" \
CFLAGS="${CT_TARGET_CFLAGS} ${extra_cflags[*]}" \
LDFLAGS="${CT_TARGET_LDFLAGS}" \
CROSS_COMPILE="${CT_TARGET}-" \
${CONFIG_SHELL} \
${src_dir}/configure \