From b0d18094ccacaed4982a9cd92f9b3e00c1eaf6c7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= Date: Wed, 2 Aug 2017 16:54:37 +0200 Subject: [PATCH] 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* --- srcpkgs/python/template | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/srcpkgs/python/template b/srcpkgs/python/template index b95a421fb66..49a8786d3bd 100644 --- a/srcpkgs/python/template +++ b/srcpkgs/python/template @@ -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.