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

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