forked from pool/grub2
27 lines
694 B
Diff
27 lines
694 B
Diff
|
From afd0f21b2027310fda52b00ac1b964041d39a363 Mon Sep 17 00:00:00 2001
|
||
|
From: Paulo Flabiano Smorigo <pfsmorigo@linux.vnet.ibm.com>
|
||
|
Date: Mon, 15 Jun 2015 09:10:19 -0300
|
||
|
Subject: [PATCH] Add flag for powerpc ieee1275 to avoid unneeded optimizations
|
||
|
|
||
|
---
|
||
|
conf/Makefile.common | 3 +++
|
||
|
1 file changed, 3 insertions(+)
|
||
|
|
||
|
diff --git a/conf/Makefile.common b/conf/Makefile.common
|
||
|
index 96e58c9..fcb8d2e 100644
|
||
|
--- a/conf/Makefile.common
|
||
|
+++ b/conf/Makefile.common
|
||
|
@@ -17,6 +17,9 @@ endif
|
||
|
if COND_arm64
|
||
|
CFLAGS_PLATFORM += -mcmodel=large
|
||
|
endif
|
||
|
+if COND_powerpc_ieee1275
|
||
|
+ CFLAGS_PLATFORM += -mcpu=powerpc
|
||
|
+endif
|
||
|
|
||
|
#FIXME: discover and check XEN headers
|
||
|
CPPFLAGS_XEN = -I/usr/include
|
||
|
--
|
||
|
2.1.4
|
||
|
|