Revert "qt5-webkit: fix cross build in i686 environment"

This reverts commit 568e673cc5.

Accidental commit.
This commit is contained in:
Jürgen Buchmüller 2018-01-12 12:34:51 +01:00
parent d6511d1f93
commit 8aba4d243e
1 changed files with 0 additions and 8 deletions

View File

@ -28,14 +28,6 @@ do_configure() {
# Patch for QtWebProcess LFLAGS
sed -i ${wrksrc}/Source/WebKit2/WebProcess.pro \
-e"/TARGET = QtWebProcess/i QMAKE_LFLAGS = $LDFLAGS"
if [ "$XBPS_ARCH" == "i686" -a -n "$CROSS_BUILD" ]; then
# Patch for i686 build environment: don't add i686 flags when cross compiling
sed -i ${wrksrc}/Tools/Scripts/webkitdirs.pm \
-e 's;"-march=pentium4 -msse2 -mfpmath=sse " . ;;'
sed -i ${wrksrc}/Tools/qmake/mkspecs/features/unix/default_post.prf \
-e 's;\(QMAKE_CFLAGS +=\) -msse2 -mfpmath=sse;\1;' \
-e 's;\(QMAKE_CXXFLAGS +=\) -msse2 -mfpmath=sse;\1;'
fi
qmake PREFIX=/usr LIB=/usr/lib QMAKE_LFLAGS_USE_GOLD= ${wrksrc}
}
do_build() {