From 3aa3d7f4d106ca7a739e234e75677adc8c38fb9c Mon Sep 17 00:00:00 2001 From: fake Date: Mon, 2 Aug 2004 09:52:51 +0000 Subject: [PATCH] fake: architecture/sparc/gcc-options: add 2 needed gcc options for a working 64 bit userland [2004072620510001946] (https://www.rocklinux.net/submaster) git-svn-id: http://www.rocklinux.org/svn/rock-linux/trunk@3762 c5f82cb5-29bc-0310-9cd0-bff59a50e3bc --- architecture/sparc/gcc-options | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/architecture/sparc/gcc-options b/architecture/sparc/gcc-options index a24907e60..9867bd65c 100644 --- a/architecture/sparc/gcc-options +++ b/architecture/sparc/gcc-options @@ -8,5 +8,9 @@ if [ "$ROCKCFG_SPARC_OPT" != "generic" ] ; then v9) tune=ultrasparc ;; esac [ "$tune" ] && var_append GCC_WRAPPER_INSERT " " "-mtune=$tune" + + if [ $ROCKCFG_SPARC_BITS == 64 ] ; then + var_append GCC_WRAPPER_INSERT " " "-Wa,-Av9a -mno-app-regs" + fi fi