mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2025-01-31 08:25:32 +00:00
Merge pull request #57 from smoofra/buildflags
bugfix: pass extra build CFLAGS and LDFLAGS to glibc
This commit is contained in:
commit
69c568ac85
@ -371,6 +371,10 @@ do_libc_backend_once() {
|
||||
;;
|
||||
esac
|
||||
|
||||
CT_CFLAGS_FOR_BUILD+=" ${CT_EXTRA_CFLAGS_FOR_BUILD}"
|
||||
CT_LDFLAGS_FOR_BUILD+=" ${CT_EXTRA_LDFLAGS_FOR_BUILD}"
|
||||
extra_make_args+=( "BUILD_CFLAGS=${CT_CFLAGS_FOR_BUILD}" "BUILD_LDFLAGS=${CT_LDFLAGS_FOR_BUILD}" )
|
||||
|
||||
if [ "${libc_headers}" = "y" ]; then
|
||||
CT_DoLog EXTRA "Installing C library headers"
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user