summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/sysklogd/files/no-vectorization.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-extended/sysklogd/files/no-vectorization.patch')
-rw-r--r--meta/recipes-extended/sysklogd/files/no-vectorization.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/meta/recipes-extended/sysklogd/files/no-vectorization.patch b/meta/recipes-extended/sysklogd/files/no-vectorization.patch
new file mode 100644
index 0000000000..c1cc042c9c
--- /dev/null
+++ b/meta/recipes-extended/sysklogd/files/no-vectorization.patch
@@ -0,0 +1,20 @@
1Upstream-Status: Inappropriate
2
3The compiler should not be generating vectorized instructions on this target.
4This is a work around until I can determine why this is occuring on this
5particular recipe
6
7Index: sysklogd-1.5/Makefile
8===================================================================
9--- sysklogd-1.5.orig/Makefile
10+++ sysklogd-1.5/Makefile
11@@ -20,7 +20,8 @@
12 CC= gcc
13 #SKFLAGS= -g -DSYSV -Wall
14 #LDFLAGS= -g
15-SKFLAGS= $(RPM_OPT_FLAGS) -O3 -DSYSV -fomit-frame-pointer -Wall -fno-strength-reduce
16+SKFLAGS= $(RPM_OPT_FLAGS) -O3 -DSYSV -fomit-frame-pointer -Wall -fno-strength-reduce \
17+ -fno-tree-vectorize
18 # -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
19 # -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE
20 # $(shell getconf LFS_SKFLAGS)