Ignore:
Timestamp:
Apr 16, 2011, 5:44:45 PM (13 years ago)
Author:
Joe Ciccone <jciccone@…>
Branches:
clfs-1.2, clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
Children:
e0ad6ee
Parents:
7d97f36
Message:

Update the LDFLAGS in the final-system between the installation
of EGLIBC and the installation of GCC. This should fix build errors
in a few odd situations, but it is also correct now. Before /usr/lib*
was not being set in rpath-link, just /lib*.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • BOOK/final-system/common/gcc.xml

    r7d97f36 rb6831b6  
    4141    <para os="h">Prepare GCC for compilation:</para>
    4242
    43 <screen os="i"><userinput>CC="gcc -Wl,-rpath-link,/lib -isystem /usr/include" \
    44     CXX="g++ -Wl,-rpath-link,/lib -isystem /usr/include" \
    45     ../gcc-&gcc-version;/configure --prefix=/usr \
     43<screen os="i"><userinput>CC="gcc -isystem /usr/include" \
     44CXX="g++ -isystem /usr/include" \
     45LDFLAGS="-Wl,-rpath-link,/usr/lib:/lib" \
     46  ../gcc-&gcc-version;/configure --prefix=/usr \
    4647    --libexecdir=/usr/lib --enable-shared --enable-threads=posix \
    4748    --enable-__cxa_atexit --enable-c99 --enable-long-long \
Note: See TracChangeset for help on using the changeset viewer.