aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@chromium.org>2015-05-25 05:50:37 -0400
committerMike Frysinger <vapier@gentoo.org>2015-05-25 05:51:12 -0400
commitc6ccafaf45a6b1d27d0feae3912aae7d9054749b (patch)
tree91c47586a519f666084dd0ffe5877aa07ee1aaf8 /wrappers
parentcrossdev: add support for linking & building extra packages (diff)
downloadcrossdev-c6ccafaf45a6b1d27d0feae3912aae7d9054749b.tar.gz
crossdev-c6ccafaf45a6b1d27d0feae3912aae7d9054749b.tar.bz2
crossdev-c6ccafaf45a6b1d27d0feae3912aae7d9054749b.zip
config.site: fix site accumulation
The POSIX rewrite accidentally dropped the appending logic so all the `site+=...` changed to `site=...`. Restore that. URL: https://bugs.gentoo.org/497626 Signed-off-by: Mike Frysinger <vapier@chromium.org>
Diffstat (limited to 'wrappers')
-rwxr-xr-xwrappers/site/config.site12
1 files changed, 6 insertions, 6 deletions
diff --git a/wrappers/site/config.site b/wrappers/site/config.site
index 1f562a9..b1bba1e 100755
--- a/wrappers/site/config.site
+++ b/wrappers/site/config.site
@@ -23,15 +23,15 @@ config_site_names() {
local x
case ${CHOST} in
- *-linux-*) sites="linux ${site_arch}-linux" ;;
- *-darwin*) sites="darwin ${site_arch}-darwin" ;;
+ *-linux-*) sites="${sites} linux ${site_arch}-linux" ;;
+ *-darwin*) sites="${sites} darwin ${site_arch}-darwin" ;;
esac
case ${CHOST} in
- *-linux-uclibc) sites="linux-uclibc ${site_arch}-linux-uclibc" ;;
- *-linux-gnu) sites="linux-gnu ${site_arch}-linux-gnu" ;;
- *-linux-uclibceabi) sites="linux-uclibceabi ${site_arch}-linux-uclibceabi" ;;
- *-linux-gnueabi) sites="linux-gnueabi ${site_arch}-linux-gnueabi" ;;
+ *-linux-uclibc) sites="${sites} linux-uclibc ${site_arch}-linux-uclibc" ;;
+ *-linux-gnu) sites="${sites} linux-gnu ${site_arch}-linux-gnu" ;;
+ *-linux-uclibceabi) sites="${sites} linux-uclibceabi ${site_arch}-linux-uclibceabi" ;;
+ *-linux-gnueabi) sites="${sites} linux-gnueabi ${site_arch}-linux-gnueabi" ;;
esac
for x in ${sites} ${CHOST}; do