Changeset 650acce for CLFS


Ignore:
Timestamp:
07/28/2007 03:40:53 PM (17 years ago)
Author:
Manuel Canales Esparcia <manuel@…>
Branches:
2.3, 2.3.x, 2.4, ablfs, ablfs-more, legacy, new_features, trunk
Children:
c93f2b0
Parents:
7a84ba7
Message:

CLFS: Fixed Sparc64 build flags issues.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • CLFS/clfs.xsl

    r7a84ba7 r650acce  
    4242  <!-- Locale settings -->
    4343  <xsl:param name="lang" select="C"/>
     44
     45  <!-- Sparc64 processor type -->
     46  <xsl:param name="sparc" select="1"/>
    4447
    4548  <xsl:template match="/">
     
    281284        <xsl:value-of select="$page"/>
    282285      </xsl:when>
     286      <xsl:when test="ancestor::sect1[@id='ch-cross-tools-flags']">
     287        <xsl:choose>
     288          <xsl:when test="contains(string(),'BUILD32')">
     289            <xsl:choose>
     290              <xsl:when test="$sparc = '1' or $sparc = '2'">
     291                <xsl:text>-m32 -mcpu=ultrasparc -mtune=ultrasparc</xsl:text>
     292              </xsl:when>
     293              <xsl:when test="$sparc = '3'">
     294                <xsl:text>-m32 -mcpu=ultrasparc3 -mtune=ultrasparc3</xsl:text>
     295              </xsl:when>
     296            </xsl:choose>
     297          </xsl:when>
     298          <xsl:when test="contains(string(),'BUILD64')">
     299            <xsl:choose>
     300              <xsl:when test="$sparc = '1' or $sparc = '2'">
     301                <xsl:text>-m64 -mcpu=ultrasparc -mtune=ultrasparc</xsl:text>
     302              </xsl:when>
     303              <xsl:when test="$sparc = '3'">
     304                <xsl:text>-m64 -mcpu=ultrasparc3 -mtune=ultrasparc3</xsl:text>
     305              </xsl:when>
     306            </xsl:choose>
     307          </xsl:when>
     308          <xsl:when test="contains(string(),'GCCTARGET')">
     309            <xsl:choose>
     310              <xsl:when test="$sparc = '1' or $sparc = '2'">
     311                <xsl:text>-mcpu=ultrasparc -mtune=ultrasparc</xsl:text>
     312              </xsl:when>
     313              <xsl:when test="$sparc = '3'">
     314                <xsl:text>-mcpu=ultrasparc3 -mtune=ultrasparc3</xsl:text>
     315              </xsl:when>
     316            </xsl:choose>
     317          </xsl:when>
     318        </xsl:choose>
     319      </xsl:when>
    283320      <xsl:otherwise>
    284321        <xsl:text>**EDITME</xsl:text>
Note: See TracChangeset for help on using the changeset viewer.