From 9c4380393eb32dde391a26e83e358f1a9a1939f2 Mon Sep 17 00:00:00 2001 From: Xi Ruoyao Date: Sat, 5 Mar 2022 03:03:19 +0800 Subject: 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). --- chapter08/gcc.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'chapter08') diff --git a/chapter08/gcc.xml b/chapter08/gcc.xml index 4c62a8d17..16bb5f99f 100644 --- a/chapter08/gcc.xml +++ b/chapter08/gcc.xml @@ -174,7 +174,7 @@ rm -rf /usr/lib/gcc/$(gcc -dumpmachine)/&gcc-version;/include-fixed/bits/root user and group: chown -v -R root:root \ - /usr/lib/gcc/*linux-gnu/&gcc-version;/include{,-fixed} + /usr/lib/gcc/$(gcc -dumpmachine)/&gcc-version;/include{,-fixed} Create a symlink required by the FHS -- cgit v1.2.3-54-g00ecf