From 43a4b86bf439d33dbddf9d28b2f1b5a7e5b045fc Mon Sep 17 00:00:00 2001 From: Paulo Flabiano Smorigo Date: Thu, 11 Jun 2015 07:55:16 -0400 Subject: powerpc: Add a flag to avoid unnecessary optimizations (like vsx) Bug-Ubuntu: https://bugs.launchpad.net/bugs/1459706 Last-Update: 2015-06-11 Patch-Name: ppc64el-avoid_unnecessary_optimizations.patch --- conf/Makefile.common | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/conf/Makefile.common b/conf/Makefile.common index e4c301f..7258b43 100644 --- a/conf/Makefile.common +++ b/conf/Makefile.common @@ -23,6 +23,10 @@ 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