summaryrefslogtreecommitdiff
path: root/core/gcc/PKGBUILD
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-04-18 14:19:13 +0200
committerErich Eckner <git@eckner.net>2019-04-18 14:19:13 +0200
commitc4ade13c6d4cf804e79a06ca32934b9d70c1b345 (patch)
tree73ab834361d98f5b00ced63d2c60dbd3cb2cd6b3 /core/gcc/PKGBUILD
parentd22b6ef090d62a0d70d9312f6af3267db04f3c0a (diff)
downloadpackages-c4ade13c6d4cf804e79a06ca32934b9d70c1b345.tar.xz
core/gcc: use $CHOST instead of $CARCH-pc-linux-gnu - $CARCH might be pentium4
Diffstat (limited to 'core/gcc/PKGBUILD')
-rw-r--r--core/gcc/PKGBUILD2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/gcc/PKGBUILD b/core/gcc/PKGBUILD
index bbbcfcab..95e0af60 100644
--- a/core/gcc/PKGBUILD
+++ b/core/gcc/PKGBUILD
@@ -15,7 +15,7 @@ eval "$(
sed '
/configure/ s/--enable-multilib/--disable-multilib/
/configure/ s,--with-bugurl=https://bugs\.archlinux\.org/,--with-bugurl=https://bugs.archlinux32.org/,
- /configure/ s/;$/ --build=$CARCH-pc-linux-gnu;/
+ /configure/ s/;$/ --build=$CHOST;/
'
declare -f package_gcc-libs | \
sed '