Changeset b24764b in clfs-sysroot for BOOK/final-system


Ignore:
Timestamp:
Sep 15, 2006, 11:50:45 PM (18 years ago)
Author:
Joe Ciccone <jciccone@…>
Branches:
master
Children:
bf38bf6
Parents:
64561e8
Message:

Replace the Perl -fPIC patch with a sed.

Location:
BOOK/final-system
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • BOOK/final-system/arm/perl.xml

    r64561e8 rb24764b  
    3131<screen os="p2"><userinput>patch -Np1 -i ../&perl-cross_compile-patch;</userinput></screen>
    3232
    33     <para os="a">The Cross directory contains a Makefile for cross-compiling.</para>
    34 
    35     <para os="p3">The following patch causes <filename>DynaLoader.a</filename>
     33    <para os="s1">The following sed causes <filename>DynaLoader.a</filename>
    3634    to be built with -fPIC so it can be linked into a shared library
    3735    later.</para>
    3836
    39 <screen os="p4"><userinput>patch -Np1 -i ../&perl-fpic-patch;</userinput></screen>
     37<screen os="s2"><userinput>sed -i Makefile.SH \
     38    -e "s@pldlflags=''@pldlflags=\"\$cccdlflags\"@g" \
     39    -e "s@static_target='static'@static_target='static_pic'@g"</userinput></screen>
     40
     41    <para os="a">The Cross directory contains a Makefile for cross-compiling.</para>
    4042
    4143<screen os="b"><userinput>cd Cross</userinput></screen>
  • BOOK/final-system/x86/perl.xml

    r64561e8 rb24764b  
    3232    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    3333    href="../arm/perl.xml"
    34     xpointer="xpointer(//*[@os='p3'])"/>
     34    xpointer="xpointer(//*[@os='s1'])"/>
    3535
    3636    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    3737    href="../arm/perl.xml"
    38     xpointer="xpointer(//*[@os='p4'])"/>
     38    xpointer="xpointer(//*[@os='s2'])"/>
    3939
    4040    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
Note: See TracChangeset for help on using the changeset viewer.