Blame SOURCES/0001-Don-t-use-strict-aliasing-because-not-everything-her.patch

b837a6
From 942cc3fcfb310754009dbd36c7c9c059c3f3f24b Mon Sep 17 00:00:00 2001
b837a6
From: Peter Jones <pjones@redhat.com>
b837a6
Date: Tue, 23 Sep 2014 13:31:46 -0400
b837a6
Subject: [PATCH] Don't use strict aliasing, because not everything here is
b837a6
 ready for it.
b837a6
b837a6
Related: rhbz#1085434
b837a6
b837a6
Signed-off-by: Peter Jones <nobody@example.com>
b837a6
---
b837a6
 gpxe/src/Makefile | 2 +-
b837a6
 mk/build.mk       | 2 +-
b837a6
 2 files changed, 2 insertions(+), 2 deletions(-)
b837a6
b837a6
diff --git a/gpxe/src/Makefile b/gpxe/src/Makefile
b837a6
index cc91d78..2e8ff1e 100644
b837a6
--- a/gpxe/src/Makefile
b837a6
+++ b/gpxe/src/Makefile
b837a6
@@ -4,7 +4,7 @@
b837a6
 #
b837a6
 
b837a6
 CLEANUP		:=
b837a6
-CFLAGS		:=
b837a6
+CFLAGS		:= -fno-strict-aliasing
b837a6
 ASFLAGS		:=
b837a6
 LDFLAGS		:=
b837a6
 MAKEDEPS	:= Makefile
b837a6
diff --git a/mk/build.mk b/mk/build.mk
b837a6
index 0ca82be..15c5ee5 100644
b837a6
--- a/mk/build.mk
b837a6
+++ b/mk/build.mk
b837a6
@@ -19,7 +19,7 @@ include $(MAKEDIR)/syslinux.mk
b837a6
 OPTFLAGS   = -g -Os
b837a6
 INCLUDES   =
b837a6
 CFLAGS     = -W -Wall -Wno-sign-compare -D_FILE_OFFSET_BITS=64 \
b837a6
-             $(OPTFLAGS) $(INCLUDES)
b837a6
+             $(OPTFLAGS) $(INCLUDES) -fno-strict-aliasing
b837a6
 LDFLAGS    =
b837a6
 LIBS	   =
b837a6
 
b837a6
-- 
b837a6
1.9.3
b837a6