Build LE grub as O1 until we add savegpr and restgpr Signed-off-by: Ram Pai <linux...@us.ibm.com> From: Anton Blanchard <an...@samba.org> --- configure.ac | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/configure.ac b/configure.ac index 09e9dfb..10856be 100644 --- a/configure.ac +++ b/configure.ac @@ -73,7 +73,12 @@ grub_TRANSFORM([grub-file]) # Optimization flag. Allow user to override. if test "x$TARGET_CFLAGS" = x; then - TARGET_CFLAGS="$TARGET_CFLAGS -Os" + if test "x$target_cpu" = xpowerpc64le; then + #HACK till savegpr/addgpr is supported + TARGET_CFLAGS="$TARGET_CFLAGS -O1" + else + TARGET_CFLAGS="$TARGET_CFLAGS -Os" + fi fi # Default HOST_CPPFLAGS -- 1.8.5.3 _______________________________________________ Grub-devel mailing list Grub-devel@gnu.org https://lists.gnu.org/mailman/listinfo/grub-devel