File 0014-lzo-fix-memory-aliasing-issue-bsc-1125616.patch of Package syslinux

From 8dec258bd2d5c22ae2ae7de23bc59acb6ecd9032 Mon Sep 17 00:00:00 2001
From: Steffen Winterfeldt <snwint@suse.com>
Date: Mon, 18 Feb 2019 13:53:18 +0000
Subject: [PATCH 14/22] lzo: fix memory aliasing issue (bsc#1125616)

---
 lzo/Makefile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/lzo/Makefile b/lzo/Makefile
index 29f1fa62..4e22b4cd 100644
--- a/lzo/Makefile
+++ b/lzo/Makefile
@@ -19,6 +19,8 @@ LIBOBJS = $(patsubst %.c,%.o,$(subst $(SRC)/,,$(sort $(wildcard $(SRC)/src/*.c))
 LIB     = lzo.a
 BINS    = prepcore
 
+OPTFLAGS += -fno-strict-aliasing
+
 all : makeoutputdirs $(BINS)
 
 makeoutputdirs:
-- 
2.42.0

openSUSE Build Service is sponsored by