e5d79c82de59b004d65399e Mon Sep 17 00:00:00 2001 From: Ram Pai Date: Mon, 24 Feb 2014 23:01:07 +0000 Subject: [PATCH 02/23] Build grub as O1 until we add savegpr and restgpr routines Signed-off-by: Ram Pai From: Anton Blanchard --- configure.ac | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index c9d2ce6..7b9d7ed 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.3.1