Changeset 026bb5d for BOOK/final-system/ppc64/yaboot.xml
- Timestamp:
- Dec 18, 2013, 1:04:00 AM (11 years ago)
- Children:
- f975b3a
- Parents:
- 1c9985f (diff), 8abef998 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/final-system/ppc64/yaboot.xml
r1c9985f r026bb5d 24 24 <para>Existing multilib distributions alter gcc to default to 32-bit 25 25 output. Because our gcc defaults to 64-bit, we need to pass appropriate 26 options to both the compiler and the linker. The Makefile already 27 overrides any CC and ignores LDFLAGS in favour of its own variables, so we 28 need to use the following seds for a successful compile and install.</para> 26 options to both the compiler and the linker. To prevent the build from 27 failing due to compiler warnings, the -Werror flag is removed. The 28 Makefile already overrides any CC and ignores LDFLAGS in favour of 29 its own variables, so we need to use the following seds for a 30 successful compile and install.</para> 29 31 30 32 <screen><userinput>sed -i -e "s/\(-print-libgcc-file-name\)/${BUILD32} \1/" \ 33 -e "s/-Werror//" \ 31 34 -e "s/\(-Bstatic\)/-melf32ppclinux \1/" Makefile 32 35 </userinput></screen> … … 44 47 </varlistentry> 45 48 <varlistentry> 49 <term><parameter>"s/-Werror//"</parameter></term> 50 <listitem> 51 <para>This deletes the -Werror flag from the Makefile.</para> 52 </listitem> 53 </varlistentry> 54 <varlistentry> 46 55 <term><parameter>"s/\(-Bstatic\)/-melf32ppclinux \1/"</parameter></term> 47 56 <listitem> … … 54 63 55 64 </variablelist> 65 66 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 67 href="../ppc/yaboot.xml" 68 xpointer="xpointer(//*[@os='p3'])"/> 69 70 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 71 href="../ppc/yaboot.xml" 72 xpointer="xpointer(//*[@os='p4'])"/> 73 74 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 75 href="../ppc/yaboot.xml" 76 xpointer="xpointer(//*[@os='p5'])"/> 77 78 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 79 href="../ppc/yaboot.xml" 80 xpointer="xpointer(//*[@os='p6'])"/> 56 81 57 82 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
Note:
See TracChangeset
for help on using the changeset viewer.