Parcourir la source

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

git-svn-id: trunk@11247 -
tom_at_work il y a 17 ans
Parent
commit
c6fba4f390
1 fichiers modifiés avec 6 ajouts et 0 suppressions
  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          
         ;;