mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2025-02-20 09:06:19 +00:00
glibc: set glibc build system default_cflags empty
By setting glibc build system default_cflags to be empty before building, we will enforce the build system to only use the crosstool-ng CFLAGS when building glibc. Properly solves the issue identified in #1396. Signed-off-by: Hans-Christian Noren Egtvedt <hegtvedt@cisco.com>
This commit is contained in:
parent
80a2e0cf87
commit
60e782fdec
@ -314,6 +314,8 @@ glibc_backend_once()
|
||||
;;
|
||||
esac
|
||||
|
||||
# Make sure glibc build system respects our provided CFLAGS.
|
||||
extra_make_args+=( default_cflags= )
|
||||
extra_make_args+=( "BUILD_CFLAGS=${build_cflags}" )
|
||||
extra_make_args+=( "BUILD_CPPFLAGS=${build_cppflags}" )
|
||||
extra_make_args+=( "BUILD_LDFLAGS=${build_ldflags}" )
|
||||
|
Loading…
x
Reference in New Issue
Block a user