summaryrefslogtreecommitdiffstats
path: root/patches/source/xorg-server/arch.use.flags
diff options
context:
space:
mode:
author Patrick J Volkerding <volkerdi@slackware.com>2022-07-13 19:56:59 +0000
committer Eric Hameleers <alien@slackware.com>2022-07-14 13:30:35 +0200
commit83e918a9794a98459b443e0095a9d13369d2fc7f (patch)
tree8346ba3f0c766cbe3458e2a2ac535eb9d307d832 /patches/source/xorg-server/arch.use.flags
parent86cbc477464406c1b7123dd57ca029d3148fbc4b (diff)
downloadcurrent-20220713195659_15.0.tar.gz
current-20220713195659_15.0.tar.xz
Wed Jul 13 19:56:59 UTC 202220220713195659_15.0
patches/packages/xorg-server-1.20.14-x86_64-3_slack15.0.txz: Rebuilt. xkb: switch to array index loops to moving pointers. xkb: add request length validation for XkbSetGeometry. xkb: swap XkbSetDeviceInfo and XkbSetDeviceInfoCheck. For more information, see: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-2319 https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-2320 (* Security fix *) patches/packages/xorg-server-xephyr-1.20.14-x86_64-3_slack15.0.txz: Rebuilt. patches/packages/xorg-server-xnest-1.20.14-x86_64-3_slack15.0.txz: Rebuilt. patches/packages/xorg-server-xvfb-1.20.14-x86_64-3_slack15.0.txz: Rebuilt.
Diffstat (limited to '')
-rw-r--r--patches/source/xorg-server/arch.use.flags11
1 files changed, 11 insertions, 0 deletions
diff --git a/patches/source/xorg-server/arch.use.flags b/patches/source/xorg-server/arch.use.flags
new file mode 100644
index 000000000..0e30c3eeb
--- /dev/null
+++ b/patches/source/xorg-server/arch.use.flags
@@ -0,0 +1,11 @@
+if [ "$ARCH" = "i486" ]; then
+ SLKCFLAGS="-O2 -march=i486 -mtune=i686 -fcommon"
+elif [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686 -fcommon"
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686 -fcommon"
+elif [ "$ARCH" = "s390" ]; then
+ SLKCFLAGS="-O2 -fcommon"
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC -fcommon"
+fi