glibc: do not build obsolete code

This commit is contained in:
Sascha Kuehndel (InuSasha) 2018-06-09 17:12:13 +02:00
parent e4037ce7d7
commit c194afd66f
No known key found for this signature in database
GPG Key ID: 15FED89617B88D1B

View File

@ -1,19 +1,20 @@
################################################################################ ################################################################################
# This file is part of OpenELEC - http://www.openelec.tv # This file is part of LibreELEC - https://libreelec.tv
# Copyright (C) 2018-present Team LibreELEC
# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv) # Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
# #
# OpenELEC is free software: you can redistribute it and/or modify # LibreELEC is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by # it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 2 of the License, or # the Free Software Foundation, either version 2 of the License, or
# (at your option) any later version. # (at your option) any later version.
# #
# OpenELEC is distributed in the hope that it will be useful, # LibreELEC is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of # but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details. # GNU General Public License for more details.
# #
# You should have received a copy of the GNU General Public License # You should have received a copy of the GNU General Public License
# along with OpenELEC. If not, see <http://www.gnu.org/licenses/>. # along with LibreELEC. If not, see <http://www.gnu.org/licenses/>.
################################################################################ ################################################################################
PKG_NAME="glibc" PKG_NAME="glibc"
@ -47,8 +48,6 @@ PKG_CONFIGURE_OPTS_TARGET="BASH_SHELL=/bin/sh \
--enable-kernel=3.0.0 \ --enable-kernel=3.0.0 \
--without-cvs \ --without-cvs \
--without-gd \ --without-gd \
--enable-obsolete-rpc \
--enable-obsolete-nsl \
--disable-build-nscd \ --disable-build-nscd \
--disable-nscd \ --disable-nscd \
--enable-lock-elision \ --enable-lock-elision \
@ -89,7 +88,6 @@ pre_configure_target() {
# set some CFLAGS we need # set some CFLAGS we need
export CFLAGS="$CFLAGS -g -fno-stack-protector" export CFLAGS="$CFLAGS -g -fno-stack-protector"
export CFLAGS="$CFLAGS -Wno-error=stringop-truncation -Wno-error=overflow -Wno-error=format-overflow="
export BUILD_CC=$HOST_CC export BUILD_CC=$HOST_CC
export OBJDUMP_FOR_HOST=objdump export OBJDUMP_FOR_HOST=objdump