Changeset 446bf69


Ignore:
Timestamp:
Jul 28, 2013, 6:52:58 PM (9 years ago)
Author:
William Harrington <kb0iic@…>
Branches:
clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
Children:
8872181
Parents:
64dddd6
Message:

Update CFLAGS in cross-tools eglibc.

Location:
BOOK/cross-tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • BOOK/cross-tools/x86/eglibc.xml

    r64dddd6 r446bf69  
    4949<screen os="df"><userinput>BUILD_CC="gcc" CC="${CLFS_TARGET}-gcc" \
    5050    AR="${CLFS_TARGET}-ar" RANLIB="${CLFS_TARGET}-ranlib" \
    51     CFLAGS="-march=$(cut -d- -f1 &lt;&lt;&lt; $CLFS_TARGET)" \
     51    CFLAGS="-march=$(cut -d- -f1 &lt;&lt;&lt; $CLFS_TARGET) -O2" \
    5252    ../eglibc-&eglibc-version;/configure --prefix=/tools \
    5353    --host=${CLFS_TARGET} --build=${CLFS_HOST} \
     
    7777      <varlistentry os="ea2">
    7878        <term><parameter>CFLAGS="-march=$(cut -d- -f1 &lt;&lt;&lt;
    79         $CLFS_TARGET)"</parameter></term>
     79        $CLFS_TARGET)" -O2</parameter></term>
    8080        <listitem>
    8181          <para>Forces EGLIBC to optimize for our target system.</para>
  • BOOK/cross-tools/x86_64/eglibc.xml

    r64dddd6 r446bf69  
    4949<screen os="df"><userinput>BUILD_CC="gcc" CC="${CLFS_TARGET}-gcc ${BUILD32}" \
    5050    AR="${CLFS_TARGET}-ar" RANLIB="${CLFS_TARGET}-ranlib" \
    51     CFLAGS="-march=$(cut -d- -f1 &lt;&lt;&lt; $CLFS_TARGET32)" \
     51    CFLAGS="-march=$(cut -d- -f1 &lt;&lt;&lt; $CLFS_TARGET32) -O2" \
    5252    ../eglibc-&eglibc-version;/configure --prefix=/tools \
    5353    --host=${CLFS_TARGET32} --build=${CLFS_HOST} \
     
    7777     <varlistentry os="ea2">
    7878        <term><parameter>CFLAGS="-march=$(cut -d- -f1 &lt;&lt;&lt;
    79         $CLFS_TARGET32)"</parameter></term>
     79        $CLFS_TARGET32) -O2"</parameter></term>
    8080        <listitem>
    8181          <para>Forces EGLIBC to optimize for our target system.</para>
Note: See TracChangeset for help on using the changeset viewer.