Don't decrease optimization level to -O0 on ppc64le
This commit is contained in:
parent
b72255aa06
commit
55786403b8
12
sblim-sfcb-1.4.9-fix-ppc-optimization-level.patch
Normal file
12
sblim-sfcb-1.4.9-fix-ppc-optimization-level.patch
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
diff -up sblim-sfcb-1.4.9/configure.orig sblim-sfcb-1.4.9/configure
|
||||||
|
--- sblim-sfcb-1.4.9/configure.orig 2018-09-26 09:43:18.678547933 +0200
|
||||||
|
+++ sblim-sfcb-1.4.9/configure 2018-09-26 09:43:31.603560105 +0200
|
||||||
|
@@ -5426,8 +5426,6 @@ case $host_cpu in
|
||||||
|
$as_echo "#define SFCB_IX86 1" >>confdefs.h
|
||||||
|
|
||||||
|
;;
|
||||||
|
- powerpc*) CFLAGS="$CFLAGS -O0"
|
||||||
|
- ;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
|
@ -36,9 +36,11 @@ Patch7: sblim-sfcb-1.4.9-fix-null-deref.patch
|
|||||||
# Patch8: fix null pointer (DoS) vulnerability via POST request to /cimom
|
# Patch8: fix null pointer (DoS) vulnerability via POST request to /cimom
|
||||||
# (CVE-2018-6644), patch by Adam Majer, rhbz#1543826
|
# (CVE-2018-6644), patch by Adam Majer, rhbz#1543826
|
||||||
Patch8: sblim-sfcb-1.4.9-fix-null-content-type-crash.patch
|
Patch8: sblim-sfcb-1.4.9-fix-null-content-type-crash.patch
|
||||||
# Patch9: fixes docdir name and removes install of COPYING with license
|
# Patch9: removes decrease of optimization level to -O0 on ppc64le
|
||||||
|
Patch9: sblim-sfcb-1.4.9-fix-ppc-optimization-level.patch
|
||||||
|
# Patch10: fixes docdir name and removes install of COPYING with license
|
||||||
# which is included through %%license
|
# which is included through %%license
|
||||||
Patch9: sblim-sfcb-1.4.9-docdir-license.patch
|
Patch10: sblim-sfcb-1.4.9-docdir-license.patch
|
||||||
Provides: cim-server = 0
|
Provides: cim-server = 0
|
||||||
Requires: cim-schema
|
Requires: cim-schema
|
||||||
Requires: sblim-sfcCommon
|
Requires: sblim-sfcCommon
|
||||||
@ -77,7 +79,8 @@ Programming Interface (CMPI).
|
|||||||
%patch6 -p1 -b .fix-ftbfs
|
%patch6 -p1 -b .fix-ftbfs
|
||||||
%patch7 -p1 -b .fix-null-deref
|
%patch7 -p1 -b .fix-null-deref
|
||||||
%patch8 -p1 -b .fix-null-content-type-crash
|
%patch8 -p1 -b .fix-null-content-type-crash
|
||||||
%patch9 -p1 -b .docdir-license
|
%patch9 -p1 -b .fix-ppc-optimization-level
|
||||||
|
%patch10 -p1 -b .docdir-license
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure --enable-debug --enable-uds --enable-ssl --enable-pam --enable-ipv6 \
|
%configure --enable-debug --enable-uds --enable-ssl --enable-pam --enable-ipv6 \
|
||||||
@ -137,6 +140,7 @@ fi;
|
|||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Thu Oct 11 2018 Vitezslav Crhonek <vcrhonek@redhat.com> - 1.4.9-14
|
* Thu Oct 11 2018 Vitezslav Crhonek <vcrhonek@redhat.com> - 1.4.9-14
|
||||||
|
- Don't decrease optimization level to -O0 on ppc64le
|
||||||
- Use %%license for file which contains the text of the license
|
- Use %%license for file which contains the text of the license
|
||||||
- Change versioned docdir to unversioned and rename the docdir to match
|
- Change versioned docdir to unversioned and rename the docdir to match
|
||||||
the package name
|
the package name
|
||||||
|
Loading…
Reference in New Issue
Block a user