Changeset 9c43803


Ignore:
Timestamp:
03/04/2022 07:03:19 PM (7 months ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
11.2, 11.2-rc1, multilib, s6-init, trunk, xry111/arm64, xry111/clfs-ng, xry111/queue-11.3
Children:
06aa05d, e6589bc
Parents:
cc2c231
Message:

gcc: use $(gcc -dumpmachine) instead of *linux-gnu

It's consistent with other commands in the same page, and also helpful
for porting to targets with different triplets (-musl or -gnuabi64).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter08/gcc.xml

    rcc2c231 r9c43803  
    175175
    176176<screen><userinput remap="install">chown -v -R root:root \
    177     /usr/lib/gcc/*linux-gnu/&gcc-version;/include{,-fixed}</userinput></screen>
     177    /usr/lib/gcc/$(gcc -dumpmachine)/&gcc-version;/include{,-fixed}</userinput></screen>
    178178
    179179    <para>Create a symlink required by the <ulink
Note: See TracChangeset for help on using the changeset viewer.