python: always set HAVE_BROKEN_SEM_GETVALUE=1

When building e.g. qt5 with gcc >= 6.3.1, python is run on the
host architecture, thus enable HAVE_BROKEN_SEM_GETVALUE for all
architectures, not just i686*
This commit is contained in:
Jürgen Buchmüller 2017-08-02 16:54:37 +02:00
parent 7844b5e2b1
commit b0d18094cc

View File

@ -26,9 +26,7 @@ alternatives="
python:python:/usr/bin/python2.7
python:python.1:/usr/share/man/man1/python2.7.1"
case "$XBPS_TARGET_MACHINE" in
i686*) CFLAGS="-DHAVE_BROKEN_SEM_GETVALUE=1" ;;
esac
CFLAGS="-DHAVE_BROKEN_SEM_GETVALUE=1"
pre_configure() {
# Ensure that internal copies of expat, libffi and zlib are not used.