From eac518b2e1a9c6a5a6a43d08b2ad798c1e3891f2 Mon Sep 17 00:00:00 2001 From: Juergen Buchmueller Date: Thu, 8 Sep 2016 14:55:16 +0200 Subject: [PATCH] python-PyQt4: fix PIE See #4572 --- srcpkgs/python-PyQt4/template | 3 +++ 1 file changed, 3 insertions(+) diff --git a/srcpkgs/python-PyQt4/template b/srcpkgs/python-PyQt4/template index 458365e2506..1e280fa0e1f 100644 --- a/srcpkgs/python-PyQt4/template +++ b/srcpkgs/python-PyQt4/template @@ -27,6 +27,9 @@ _do_pyqt4_build() { python${pyver} configure-ng.py --confirm-license --assume-shared $tools \ CC="${CC}" CFLAGS="${CFLAGS}" CXX="${CXX}" CXXFLAGS="${CXXFLAGS}" \ LINK="${CXX}" LINK_SHLIB="${CXX}" LFLAGS="${LDFLAGS}" STRIP="" + find -name Makefile -exec sed -i "{}" \ + -e "s;^\(CXXFLAGS.*=.*\);& $CXXFLAGS;" \ + -e "s;^\(LFLAGS.*=.*\);& $LDFLAGS;" \; make ${makejobs} } pre_build() {