summaryrefslogtreecommitdiffstats
path: root/patches/source/libXpm/arch.use.flags
diff options
context:
space:
mode:
author Patrick J Volkerding <volkerdi@slackware.com>2023-01-19 00:40:12 +0000
committer Eric Hameleers <alien@slackware.com>2023-01-19 13:30:28 +0100
commit19e28b847b5d8c1188c3b274bb7ea776417a589b (patch)
treedf7a0d14ce405601287d2670966798541fd2c02e /patches/source/libXpm/arch.use.flags
parent7793836a6dc47f99afa1efb36988e346a37579c0 (diff)
downloadcurrent-19e28b847b5d8c1188c3b274bb7ea776417a589b.tar.gz
current-19e28b847b5d8c1188c3b274bb7ea776417a589b.tar.xz
Thu Jan 19 00:40:12 UTC 202320230119004012_15.0
patches/packages/sudo-1.9.12p2-x86_64-1_slack15.0.txz: Upgraded. This update fixes a flaw in sudo's -e option (aka sudoedit) that could allow a malicious user with sudoedit privileges to edit arbitrary files. For more information, see: https://www.cve.org/CVERecord?id=CVE-2023-22809 (* Security fix *)
Diffstat (limited to 'patches/source/libXpm/arch.use.flags')
-rw-r--r--patches/source/libXpm/arch.use.flags11
1 files changed, 11 insertions, 0 deletions
diff --git a/patches/source/libXpm/arch.use.flags b/patches/source/libXpm/arch.use.flags
new file mode 100644
index 000000000..0e30c3eeb
--- /dev/null
+++ b/patches/source/libXpm/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