summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorPhillip Smith <fukawi2@gmail.com>2013-04-30 01:10:08 +0200
committerAllan McRae <allan@archlinux.org>2013-05-29 06:08:03 +0200
commit5bcc058d4217a3e843e9adfbe0d8882ddf0f31b1 (patch)
treeb44bc450b33162b535a704fb9636f509df7075ae /doc
parenta975523fb97fdb65245f3d3a4e0c581c9dbeef3f (diff)
downloadpacman-5bcc058d4217a3e843e9adfbe0d8882ddf0f31b1.tar.gz
pacman-5bcc058d4217a3e843e9adfbe0d8882ddf0f31b1.tar.xz
makepkg: add support for CARCH environment var
Add support for overriding configuration in /etc/makepkg.conf and ~/.makepkg.conf by setting the environment variable CARCH similar to how SRCDEST and PKGDEST behave. Fixes FS#35030. Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'doc')
-rw-r--r--doc/makepkg.8.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/makepkg.8.txt b/doc/makepkg.8.txt
index a10242d2..e24463c2 100644
--- a/doc/makepkg.8.txt
+++ b/doc/makepkg.8.txt
@@ -229,6 +229,10 @@ Environment Variables
Folder where the package will be built. Overrides the corresponding
value defined in linkman:makepkg.conf[5].
+**CARCH=**"(i686|x86_64)"::
+ Force build for a specific architecture. Useful for cross-compiling.
+ Overrides the corresponding value defined in linkman:makepkg.conf[5].
+
Configuration
-------------
See linkman:makepkg.conf[5] for more details on configuring makepkg using the