From 0e6662650d730e0207ee8d37300c415e50130ef7 Mon Sep 17 00:00:00 2001 From: Stefan Fiedler Date: Wed, 27 Oct 2004 03:25:39 +0000 Subject: [PATCH] Stefan Fiedler: dietlibc: beautification for the case that ROCKCFG_SPARC_BITS is not set Index: package/base/dietlibc/parse-config-9 =================================================================== [2004101418592413137] (https://www.rocklinux.net/submaster) git-svn-id: http://www.rocklinux.org/svn/rock-linux/trunk@4587 c5f82cb5-29bc-0310-9cd0-bff59a50e3bc --- package/base/dietlibc/parse-config-9 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/base/dietlibc/parse-config-9 b/package/base/dietlibc/parse-config-9 index 96a420461..8ada7e687 100644 --- a/package/base/dietlibc/parse-config-9 +++ b/package/base/dietlibc/parse-config-9 @@ -76,7 +76,7 @@ if [ "$pkg_dietlibc_useit" = 1 ]; then echo_status "Preparing configuration to build this package with dietlibc ("${diet_dynamic_static}"ally)." # dietlibc-sparc32 depends on -msupersparc output - if [ "$arch" = "sparc" -a "$ROCKCFG_SPARC_BITS" -eq 32 ] ; then + if [ "$arch" = "sparc" -a "$ROCKCFG_SPARC_BITS" = "32" ] ; then var_append GCC_WRAPPER_INSERT " " "-mcpu=supersparc" ; fi ;