mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 21:56:42 +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 \
|
--libexecdir=/usr/lib/glibc \
|
||||||
--cache-file=config.cache \
|
--cache-file=config.cache \
|
||||||
--disable-profile \
|
--disable-profile \
|
||||||
--disable-werror \
|
|
||||||
--disable-sanity-checks \
|
--disable-sanity-checks \
|
||||||
--enable-add-ons \
|
--enable-add-ons \
|
||||||
--enable-bind-now \
|
--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|-Ofast|-O2|g")
|
||||||
export CFLAGS=$(echo ${CFLAGS} | sed -e "s|-O.|-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
|
if [ -n "${PROJECT_CFLAGS}" ]; then
|
||||||
export CFLAGS=$(echo ${CFLAGS} | sed -e "s|${PROJECT_CFLAGS}||g")
|
export CFLAGS=$(echo ${CFLAGS} | sed -e "s|${PROJECT_CFLAGS}||g")
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user