mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 13:16:41 +00:00
glibc: elf/cache.c not compiling with -Werror
This commit is contained in:
parent
fa73826b42
commit
185a00db16
@ -19,7 +19,6 @@ PKG_CONFIGURE_OPTS_TARGET="BASH_SHELL=/bin/sh \
|
||||
--libexecdir=/usr/lib/glibc \
|
||||
--cache-file=config.cache \
|
||||
--disable-profile \
|
||||
--disable-werror \
|
||||
--disable-sanity-checks \
|
||||
--enable-add-ons \
|
||||
--enable-bind-now \
|
||||
@ -51,6 +50,9 @@ pre_configure_target() {
|
||||
export CFLAGS=$(echo ${CFLAGS} | sed -e "s|-Ofast|-O2|g")
|
||||
export CFLAGS=$(echo ${CFLAGS} | sed -e "s|-O.|-O2|g")
|
||||
|
||||
export CFLAGS=$(echo ${CFLAGS} | sed -e "s|-Wunused-but-set-variable||g")
|
||||
export CFLAGS="${CFLAGS} -Wno-unused-variable"
|
||||
|
||||
if [ -n "${PROJECT_CFLAGS}" ]; then
|
||||
export CFLAGS=$(echo ${CFLAGS} | sed -e "s|${PROJECT_CFLAGS}||g")
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user