浏览代码

* sample configuration script generates powerpc* multiarch library load path configuration

git-svn-id: trunk@11247 -
tom_at_work 17 年之前
父节点
当前提交
c6fba4f390
共有 1 个文件被更改,包括 6 次插入0 次删除
  1. 6 0
      compiler/utils/samplecfg

+ 6 - 0
compiler/utils/samplecfg

@@ -106,6 +106,12 @@ case $HOSTOS in
         GCCDIR4="$GCCDIR"
         setgccdirarch cpux86_64 -m64
         ;;
+      powerpc|powerpc64)
+      # Allow for the possibility of both 32 and 64 bit compilation on same system
+        setgccdirarch cpupowerpc -m32
+	GCCDIR4="$GCCDIR"
+	setgccdirarch cpupowerpc64 -m64
+	;;
       # Add cases for other linux dual architectures here
       *) singlearch # Default          
         ;;