[OpenBIOS] [PATCH v2 3/4] switch-arch: as for powerpc64, select sparc64 compiler to compile sparc32

Laurent Vivier laurent at vivier.eu
Sun Oct 25 16:48:52 CET 2015


As for powerpc64, only sparc64 compiler is available in the distro
(Fedora 22), so use it if is available.

The change is the same one as introduced for powerpc64.

Signed-off-by: Laurent Vivier <laurent at vivier.eu>
---
 config/scripts/switch-arch | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/config/scripts/switch-arch b/config/scripts/switch-arch
index 2e9d601..38d263d 100755
--- a/config/scripts/switch-arch
+++ b/config/scripts/switch-arch
@@ -280,7 +280,7 @@ for ARCH in $arch_list; do
         ;;
 
         sparc32)
-        select_prefix sparc
+        select_prefix sparc sparc64
         CFLAGS="-Wa,-xarch=v8 -Wa,-32 -m32 -mcpu=supersparc -fno-builtin"
         AS_FLAGS="-Wa,-xarch=v8 -Wa,-32"
         ;;
-- 
2.4.3




More information about the OpenBIOS mailing list