diff options
author | fourtysixandtwo <fourtysixandtwo@sliderr.net> | 2022-03-18 21:19:32 -0600 |
---|---|---|
committer | B. Watson <urchlay@slackware.uk> | 2022-06-07 02:24:03 -0400 |
commit | f385871d70888cf652c04129051e824a119ec626 (patch) | |
tree | ddc7360d1dbdf8ec2eb90138534776741313c384 /libraries/qt4 | |
parent | c9d4d8caa9156903d248211c0637ea8b83922096 (diff) |
libraries/qt4: Change i486 to i586
Diffstat (limited to 'libraries/qt4')
-rw-r--r-- | libraries/qt4/qt4.SlackBuild | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/libraries/qt4/qt4.SlackBuild b/libraries/qt4/qt4.SlackBuild index 76f51fec87a9..08a26b69f676 100644 --- a/libraries/qt4/qt4.SlackBuild +++ b/libraries/qt4/qt4.SlackBuild @@ -71,10 +71,7 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "i586" ]; then +if [ "$ARCH" = "i586" ]; then SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then @@ -117,7 +114,7 @@ chown -R root:root . find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+ -if [ $ARCH = "i486" -o $ARCH = "i586" -o "$ARCH" = "i686" ]; then +if [ "$ARCH" = "i486" -o "$ARCH" = "i586" -o "$ARCH" = "i686" ]; then sed -i -e "s/QMAKE_CFLAGS_RELEASE += -O2/QMAKE_CFLAGS_RELEASE += $SLKCFLAGS/" mkspecs/common/gcc-base.conf fi |